---
name: "kernel_restart"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/kernel_restart"
---

# kernel\_restart(9)

reboot the system

## NAME

kernel\_restart - reboot the system

## SYNOPSIS

**void kernel\_restart(char \*** *cmd***);**

## ARGUMENTS

*cmd*

pointer to buffer containing command to execute for restart or **NULL**

## DESCRIPTION

Shutdown everything and perform a clean reboot. This is not safe to call in interrupt context.

## COPYRIGHT
