pause(2) DG/UX 4.30 pause(2)
NAME
pause - Suspend process until a signal is caught.
SYNOPSIS
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.
SEE ALSO
The related system calls: alarm, kill, signal, wait.
STANDARDS
When using m88kbcs as the Software Development Environment
target, the pause function will be emulated using BCS system
calls. Since this is an emulation requiring several BCS
system calls, a slight performance degradation may be
noticed in comparison to using pause in /lib/libc.a.
Licensed material--property of copyright holder(s) Page 1