![]() |
![]() |
![]() |
Reboot a QNX 6 system
#include <sys/sysmgr.h> int sysmgr_reboot( void );
libc
The sysmgr_reboot() function reboots the calling computer. You need to be root for this function to succeed.
The sysmgr_reboot() function doesn't return if successful. If an error occurs, it returns:
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |