Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
sysmgr_reboot()
Reboot the system
Synopsis:
#include <sys/sysmgr.h> int sysmgr_reboot( void );
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
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:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
See also:
procnto in the Utilities Reference
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)