sysmgr_reboot()

Reboot the system

Synopsis:

#include <sys/sysmgr.h>

int sysmgr_reboot( void );

Since:

BlackBerry 10.0.0

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. In order to successfully call this function, your process must have the PROCMGR_AID_REBOOT ability enabled. For more information, see procmgr_ability().

Returns:

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

EPERM
The calling process doesn't have the required permission; see procmgr_ability().

Classification:

QNX Neutrino

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

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus