[Previous] [Contents] [Next]

sysmgr_reboot()

Reboot a QNX 6 system

Synopsis:

#include <sys/sysmgr.h>

int sysmgr_reboot( void );

Library:

libc

Description:

The sysmgr_reboot() function reboots the calling computer. You need to be root for this function to succeed.

Returns:

The sysmgr_reboot() function doesn't return if successful. If an error occurs, it returns:

EPERM
You need to be root to call this function.

Classification:

QNX 6

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

procnto


[Previous] [Contents] [Next]