Hacker News new | ask | show | jobs
by colinstrickland 2345 days ago
It also has an `IsComputerOn` system call.
1 comments

int IsComputerOn() { return 1; }

??

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