PAUSE(2) SysV PAUSE(2)
NAME
pause - suspend process until signal
SYNOPSIS
pause ()
DESCRIPTION
pause suspends the calling process until it receives a signal whose
action is to terminate the process on one that has an associated signal
handler. Signals that are ignored by the process have no effect.
DIAGNOSTICS
If the signal causes termination of the calling process, pause will not
return.
If the signal is caught by the calling process and control is returned
from the signal-catching function (see signal(2)), the calling process
resumes execution from the point of suspension - with a return value of
-1 from pause and errno set to EINTR.
ERRORS
The pause function fails if:
[EINTR] The signal is caught by the calling process and control is
returned from the signal-catching function.
SEE ALSO
alarm(2), kill(2), signal(2), sigpause(2), wait(2).