Home > fun > is_computer_on()

is_computer_on()

The following function is from the BeBook, which details the API of the BeOS operating system.

The Be Book - Classes And Methods - The Kernel Kit / System Information:

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.”

Found here in a comment.

About these ads
Categories: fun Tags: , ,
  1. December 5, 2011 at 14:32 | #1

    Lol!!

  2. Jaume
    December 5, 2011 at 21:29 | #2

    outstanding. How is that BeOS didnt succeed?

  3. December 6, 2011 at 08:23 | #3

    I think the is_computer_on_fire() function also deserves an “honourable mention”.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 42 other followers

%d bloggers like this: