DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

pause(S)


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 sigaction(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), sigaction(S), sigpause(S), wait(S)

Standards conformance

pause is conformant with:
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 .
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003