Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pause(2) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(2)

kill(2)

signal(2)

sigpause(3BSD)

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
             of any type.  The signal must be one that is not currently set
             to be ignored.

             If the signal causes termination of the process, pause does
             not return.

          Return Values
             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 with a return value of -1 from pause and errno set
             to EINTR.

          Errors
             In the following conditions, the calling process resumes from
             the point of suspension with errno set to:

             EINTR     A signal was caught by the calling process.

       REFERENCES
             alarm(2), kill(2), signal(2), sigpause(3BSD), wait(2)

       NOTICES
          Considerations for Threads Programming
             While one thread is blocked, siblings might still be
             executing.  See signal(5) for further details of signal
             delivery.  See sigwait(2) for related functionality.












                           Copyright 1994 Novell, Inc.               Page 1








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