Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pause(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(S)

kill(S)

signal(S)

sigpause(S)

wait(S)


 pause(S)                       6 January 1993                       pause(S)


 Name

    pause - suspend process until signal

 Syntax


    cc  . . .  -lc


    int pause()


 Description

    The pause system call 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 does not
    return.

    If the signal is caught by the calling process, and control is returned
    from the signal-catching function (see signal(S)), the calling process
    resumes execution from the point of suspension; with a return value of -1
    from pause and errno errno set to EINTR.

 See also

    alarm(S), kill(S), signal(S), sigpause(S), wait(S)

 Standards conformance

    pause is conformant with:
    AT&T SVID Issue 2;
    X/Open Portability Guide, Issue 3, 1989;
    IEEE POSIX Std 1003.1-1990 System Application Program Interface (API) [C
    Language] (ISO/IEC 9945-1);
    and NIST FIPS 151-1.


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