wait for a signal
pause() is obsoleted by sigsuspend(2).
blocks the calling thread until it receives an unmasked signal.
pause() always returns -1.
pause() always sets
the following value:
- The call was interrupted by a signal.
kill(2), setitimer(2), sigprocmask(2), sigsuspend(2), signal(3)
pause() system call first appeared
outside of Bell Labs in the “50 changes” tape for
Version 6 AT&T UNIX. It was first
officially released with PWB/UNIX 1.0. It was reimplemented as a wrapper
sigblock() system calls in
4.2BSD, and around the
sigprocmask(2) system calls in