Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(2)

kill(2)

sigvector(2)

wait(2)

signal(5)

pause(2)

NAME

pause − suspend process until signal

SYNOPSIS

#include <unistd.h>

int pause(void);

DESCRIPTION

pause() suspends the calling process until it receives a signal.  The signal must be one that is not currently set to be ignored or blocked (masked) 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(5)), the calling process resumes execution from the point of suspension; with a return value of −1 from pause() and errno set to EINTR. 

WARNING

Check all references to signal(5) for appropriateness on systems that support sigvector(2). sigvector() can affect the behavior described on this page. 

SEE ALSO

alarm(2), kill(2), sigvector(2), wait(2), signal(5). 

STANDARDS CONFORMANCE

pause(): AES, SVID2, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

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