Suspends a process until a signal is received.
Standard C Library (libc.a)
int pause (void)
The pause subroutine suspends the calling process until it receives a signal. The signal must not be one that is ignored by the calling process. The pause subroutine does not affect the action taken upon the receipt of a signal.
If the signal received causes the calling process to end, the pause subroutine does not return.
If the signal is caught by the calling process and control is returned from the signal-catching function, the calling process resumes execution from the point of suspension. The pause subroutine returns a value of -1 and sets the errno global variable to EINTR.
This subroutine is part of Base Operating System (BOS) Runtime.
The incinterval, alarm, or settimer subroutine, kill or killpg subroutine, sigaction, sigvec, or signal subroutine, wait, waitpid, or wait3 subroutine.