pause(2)
_________________________________________________________________
pause System Call
Suspend process until a signal is caught.
_________________________________________________________________
SYNTAX
int pause ()
PARAMETERS
None.
DESCRIPTION
Pause suspends the calling process until it is presented with a
signal. The signal must be one that is not currently set to be
ignored by the calling process.
Neither the presentation of signals that are ignored, nor the
presentation of signals that cause the termination of the calling
process, nor the existence of pended signals cause pause to
return.
When the signal is caught by the calling process and control is
returned from the signal handler, pause returns.
ACCESS CONTROL
None.
RETURN VALUE
-1 An error occurred. Errno is set to indicate the
error.
EXCEPTIONS
Errno may be set to the following error code:
EINTR A signal interrupted the pause operation.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
pause(2)
SEE ALSO
The related system calls: alarm, kill, signal, wait.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)