diff options
author | kib <kib@FreeBSD.org> | 2011-08-25 10:00:38 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-08-25 10:00:38 +0000 |
commit | a9e2c1ebfb91bfc4295fdf7873cf3bddb8055b7e (patch) | |
tree | 185b3cca5011d20e4075bf6d4771e2ffb1e159de /lib/libc/sys/sigwait.2 | |
parent | e414ca1893163f229dda1e3e25d9b4ec53e4d7b2 (diff) | |
download | FreeBSD-src-a9e2c1ebfb91bfc4295fdf7873cf3bddb8055b7e.zip FreeBSD-src-a9e2c1ebfb91bfc4295fdf7873cf3bddb8055b7e.tar.gz |
Clarify the behaviour of sigwait() on signal interruption, and note
the difference between sigwait() and sigtimedwait()/sigwaitinfo().
Approved by: re (bz)
Diffstat (limited to 'lib/libc/sys/sigwait.2')
-rw-r--r-- | lib/libc/sys/sigwait.2 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/sys/sigwait.2 b/lib/libc/sys/sigwait.2 index 8c00cf4..a9e605c 100644 --- a/lib/libc/sys/sigwait.2 +++ b/lib/libc/sys/sigwait.2 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 11, 2005 +.Dd August 24, 2011 .Dt SIGWAIT 2 .Os .Sh NAME @@ -82,6 +82,14 @@ selected, it will be the lowest numbered one. The selection order between realtime and non-realtime signals, or between multiple pending non-realtime signals, is unspecified. +.Sh IMPLEMENTATION NOTES +The +.Fn sigwait +function is implemented as a wrapper around the +.Fn __sys_sigwait +system call, which retries the call on +.Er EINTR +error. .Sh RETURN VALUES If successful, .Fn sigwait |