PAUSE(2)
NAME
pause − suspend process until signal
SYNOPSIS
pause ()
HP-UX COMPATIBILITY
Level: HP-UX/RUN ONLY
Origin: System V
DESCRIPTION
Pause suspends the calling process until it receives a signal. The signal must be one that is not currently set to be ignored by the calling process.
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 if the signal-catching function does not specify restart of the pause (see sigvector(2)). The return value is −1 from pause, and errno is set to EINTR.
SEE ALSO
alarm(2), kill(2), signal(2), wait(2), sigpause(2).
Hewlett-Packard — last mod. May 11, 2021