Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It also has an `IsComputerOn` system call.


int IsComputerOn() { return 1; }

??


if i recall correctly, if the computer is off the return value is undefined.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: