If a Kernel Call is Made But Nobody is Listening…
If a kernel call is made but nobody is listening, does it make a sound?
The BeOS kernel kit (kernel/OS.h) has the following function:
int32 is_computer_on();
Returns 1 if the computer is on. If the computer isn’t on, the value returned by this function is undefined.
Although funny, it’s also actually perfectly logical! For technically interesting and/or nostalgic moments, have a look at the Be Book.
Print This Post

2 Comments so far
Leave a comment
can you actually test it with your computer turned off? :)
sounds amazingly funny though :)
By Daniel B. on 04.05.08 23:30
This is extremely funny!
By AzP on 04.09.08 10:22
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: