iPhone Dev - How To Reboot Or Poweroff

Toolchain:

#import <sys/reboot.h>

reboot(RB_HALT); // poweroff
reboot(RB_BOOT); // reboot


Back to:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License