| ▲ | jesperwe a day ago | ||||||||||||||||||||||||||||
I wonder how they implement is_computer_on() under Linux? (https://www.haiku-os.org/legacy-docs/bebook/TheKernelKit_Sys...) | |||||||||||||||||||||||||||||
| ▲ | dleslie a day ago | parent | next [-] | ||||||||||||||||||||||||||||
In the simplest way. More interesting is the result for is_computer_on_fire() https://github.com/VitruvianOS/Vitruvian/blob/0e4c6e33ab235b... | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | fragmede a day ago | parent | prev [-] | ||||||||||||||||||||||||||||
on fire > The following functions, types, and structures are used to convey basic information about the system, such as the number of CPUs, when the kernel was built, what time it is now and whether your computer is on fire. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||