Go to the first, previous, next, last section, table of contents.


sleep

Syntax

#include <unistd.h>

unsigned sleep(unsigned seconds);

Description

This function causes the program to pause for seconds seconds.

Return Value

The number of seconds that haven't passed (i.e. always zero)

Portability

not ANSI, POSIX

Example

sleep(5);


Go to the first, previous, next, last section, table of contents.