Differences between version 2 and predecessor to the previous major change of pause(2).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Sunday, March 16, 2003 6:21:07 pm | by PerryLorier | Revert |
Older page: | version 1 | Last edited on Tuesday, June 4, 2002 12:23:44 am | by perry | Revert |
@@ -1,53 +1,21 @@
-PAUSE
-!!!PAUSE
-NAME
-SYNOPSIS
-DESCRIPTION
-RETURN VALUE
-ERRORS
-CONFORMING TO
-SEE ALSO
-----
!!NAME
+pause - wait for signal
-
-pause - wait for signal
!!SYNOPSIS
+ __#include <unistd.h>__
-
-__#include __
-
-
-
__int pause(void);__
+
__int pause(void);__
!!DESCRIPTION
+The pause(2) syscall causes the invoking process (or thread) to sleep until a signal is received that either terminates it or causes it to call a signal-catching function.
-
-The __pause__ library function causes the invoking
-process (or thread) to sleep until a signal is received that
-either terminates it or causes it to call a signal-catching
-function.
!!RETURN VALUE
+The pause(2) function only returns when a signal was caught and the signal-catching function returned. In this case pause(2) returns -1, and ''errno'' is set to [EINTR].
-
-The __pause__ function only returns when a signal was
-caught and the signal-catching function returned. In this
-case __pause__ returns -1, and ''errno'' is set to
-__EINTR__.
!!ERRORS
+;[EINTR]: a signal was caught and the signal-catching function returned.
-
-__EINTR__
-
-
-a signal was caught and the signal-catching function
-returned.
!!CONFORMING TO
+SVr4, SVID, POSIX, X/OPEN, BSD 4.3, SUSv2
-
-SVr4, SVID, POSIX, X/OPEN, BSD 4.3, SUSv2
!!SEE ALSO
-
-
-
kill(2), select(2),
-
signal(2)
-----
+kill(2), select(2), signal(2)