#define _SYS_REBOOT_H_
#include <sys/appleapiopts.h>
+#include <sys/cdefs.h>
+#include <stdint.h>
/*
* Arguments to reboot system call.
#define RB_QUICK 0x400 /* quick and ungraceful reboot with file system caches flushed*/
#define RB_PANIC 0x800 /* panic the kernel */
+#ifndef KERNEL
+__BEGIN_DECLS
+/* userspace reboot control */
+int usrctl(uint32_t flags);
+__END_DECLS
+#endif
+
#endif /* __APPLE_API_PRIVATE */
#ifdef __APPLE_API_OBSOLETE