PAUSE(3C) — UNIX Programmer’s Manual
NAME
pause − stop until signal
SYNOPSIS
int pause(void);
DESCRIPTION
Pause suspends the calling process until delivery of a signal whose action is either to execute a signal-catching function or to terminate the process.
If the action is to terminate the process, pause never returns.
If the action is to execute a signal-catching function, pause returns after the signal-catching function returns.
RETURN VALUE
Always returns −1.
ERRORS
Pause always returns:
[EINTR] The call was interrupted.
SEE ALSO
alarm(2), kill(2), select(2), setitimer(2), sigpause(2), wait(2)
4th Berkeley Distribution — August 1, 1992