Hacker News new | past | comments | ask | show | jobs | submit login

BeOS had this:

int32 is_computer_on(void)

    Returns 1 if the computer is on. If the computer isn't on, the value returned by this function is undefined.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: