pause()

NAME

pause() - stop until signal

SYNOPSIS

#include <unistd.h>

int pause (void)

DESCRIPTION

The pause(2) function forces a process to pause until a signal is received from either the kill(2) function or an interval timer. (See alarm(2).) Upon termination of a signal handler started during a pause(2), the pause(2) call will return.

RETURN VALUES

Always returns -1.

ERRORS

The pause(2) function always returns:

[EINTR]
The call was interrupted.

SEE ALSO

alarm(2)

kill(2)

select(2)

sigsuspend(2)