Index of Section 2 Manual Pages
| Interix / SUA | pause.2 | Interix / SUA |
pause(2) pause(2)
pause()
NAME
pause() - stop until signal
SYNOPSIS
#include
int pause (void)
DESCRIPTION
The pause(2) function forces a process to pause until a signal is received
from either the kill(2) function or an interval timer. (See alarm(2).)
Upon termination of a signal handler started during a pause(2), the
pause(2) call will return.
RETURN VALUES
Always returns -1.
ERRORS
The pause(2) function always returns:
[EINTR]
The call was interrupted.
SEE ALSO
alarm(2)
kill(2)
select(2)
sigsuspend(2)
USAGE NOTES
The pause function is thread safe.
The pause function is async-signal safe.