Monday, March 30, 2009

Source Code of the Day

From shutdown.c, part of Darwin's system_cmds project:



#ifdef __APPLE__

void log_and_exec_reboot_or_halt(void);

#else

void die_you_gravy_sucking_pig_dog(void);

#endif


Probably not the cause of our "WARNING: couldn't lock kext manager for reboot: (ipc/send) invalid destination port" problems, but still good to know.



No comments: