reboot_posix.c (238B)
1 /* see LICENSE file for copyright and license details */ 2 #include "../reboot.h" 3 4 #include <errno.h> 5 6 #if !defined(__linux__) || defined(ARUU_FORCE_POSIX) 7 int 8 machine_reboot(int how) 9 { 10 (void)how; 11 errno = ENOTSUP; 12 return -1; 13 } 14 #endif