pause
Purpose
Suspends a process until a signal is received.
Syntax
int pause ( )
Description
The pause system call suspends the calling process until
it receives a signal. The signal must not be one that is
ignored by the calling process. pause does not affect
the action taken upon the receipt of a signal.
If the signal received causes the calling process to ter-
minate, then the pause system call does not return.
If the signal is caught by the calling process and
control is returned from the signal-catching function,
then the calling process resumes execution from the point
of suspension; the pause system call returns a value of
-1 and sets errno to EINTR. (For information about
signal-catching functions, see "signal.")
Related Information
In this book: "alarm," "kill," "signal," and "wait."