Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pause(2) — DG/UX 5.4.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(2)

kill(2)

signal(2)

wait(2)



pause(2)                         DG/UX 5.4.2                        pause(2)


NAME
       pause - suspend process until a signal is caught

SYNOPSIS
       int pause(void)

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.

DIAGNOSTICS
       Errno may be set to the following error code:

       EINTR     A signal interrupted the pause operation.

SEE ALSO
       alarm(2), kill(2), signal(2), wait(2).

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)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026