Query: pause
OS: opensolaris
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pause(2) System Calls pause(2)NAMEpause - suspend process until signalSYNOPSIS#include <unistd.h> int pause(void);DESCRIPTIONThe pause() function suspends the calling process until it receives a signal. The signal must be one that is not currently set to be ignored by the calling 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(3C)), the calling process resumes execution from the point of suspension.RETURN VALUESSince pause() suspends thread execution indefinitely unless interrupted by a signal, there is no successful completion return value. If interrupted, it returns -1 and sets errno to indicate the error.ERRORSThe pause() function will fail if: EINTR A signal is caught by the calling process and control is returned from the signal-catching function.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+SEE ALSOalarm(2), kill(2), signal(3C), wait(3C), attributes(5), standards(5) SunOS 5.11 28 Dec 1996 pause(2)
Related Man Pages |
---|
sigsuspend(2) - opensolaris |
wait(3c) - opensolaris |
sigsuspend(2) - hpux |
sigsuspend(2) - sunos |
pause(3p) - php |
Similar Topics in the Unix Linux Community |
---|
signal in process communication |
core dump - signal 9 |
pause needed for corn shell |
stopclock coding in javascript. |
Continue Processing after a signal is caught |