5 ms·
Impl code here[1]: int32 is_computer_on(void) { return _kern_is_computer_on(); } double is_computer_on_fire(void) { return 0.63739;
by jmkim 5y ago
Impl code here[1]:
int32
is_computer_on(void)
{
return _kern_is_computer_on();
}
double
is_computer_on_fire(void)
{
return 0.63739;
}
[1] https://github.com/haiku/haiku/blob/master/src/system/libroot/os/system_info.cpp#L186 https://github.com/haiku/haiku/blob/master/src/system/libroo...
Was used by the Haiku doc, namely "System calls"[2], as an example.
[2]
https://www.haiku-os.org/documents/dev/system_calls/ https://www.haiku-os.org/documents/dev/system_calls/
- jmkim 5y agoLeh, 0.63739 means "on fire"? Any conversions?