kernel_restart(9)

kernel_restart9

Reboot the system

Usage

void kernel_restart(char * cmd);

Arguments

cmd

pointer to buffer containing command to execute for restart or NULL

Overview

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

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.