Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(2)

kill(2)

signal(2)

sigpause(2)

wait(2)

pause(2)                                                           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 by the cal-
     ling 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(2)], the calling process
     resumes execution from the point of suspension.

RESULT
     Since the pause() function suspends a process in an undefined state
     until a signal is received, there is no successful completion return
     value. When the calling process receives a signal, pause() returns -1
     and errno is set to EINTR.

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



























Page 1                       Reliant UNIX 5.44                Printed 11/98

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