Go to the terminal and type in "man 3 sleep" and read the entry there.