4 ms·
I recall BeOS had is_computer_on_fire() double is_computer_on_fire(); Returns the temperature of the motherboard if the computer is currently on fire. Smolder
by sillywalk 2y ago
I recall BeOS had is_computer_on_fire()
double is_computer_on_fire();
Returns the temperature of the motherboard if the computer is currently on fire. Smoldering doesn't count. If the computer isn't on fire, the function returns some other value.
( https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_SystemInfo.html#is_computer_on_fire https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_Sys...)
- basementcat 2y agoint32 is_computer_on() If the computer isn't on, the value returned by this function is undefined.