1063 shaares
28 private links
28 private links
The Kernel Kit: System Information
is_computer_on()
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.
is_computer_on_fire()
double is_computer_on_fire(void)
Returns the temperature of the motherboard if the computer is currently on fire. If the computer isn't on fire, the function returns some other value.