summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2008-07-17 21:54:23 +0000
committersimon <simon@FreeBSD.org>2008-07-17 21:54:23 +0000
commitea1061e2f6826360711fcca0e69e9f188506e17a (patch)
treea0ca98b2b66b01760ae71bb886e625f82ec535fb /lib/libc/gen
parentac5e6208c0df75a96ee0d1fd907835ac34062072 (diff)
downloadFreeBSD-src-ea1061e2f6826360711fcca0e69e9f188506e17a.zip
FreeBSD-src-ea1061e2f6826360711fcca0e69e9f188506e17a.tar.gz
Make it more clear what it means that SA_RESTART is set for signal
handlers added with signal(3). Submitted by: gnn (slightly modified by me) MFC after: 1 week
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/signal.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 4086f68..866eee3 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -181,10 +181,12 @@ func() remains installed after a signal has been delivered.
For some system calls, if a signal is caught while the call is
executing and the call is prematurely terminated,
the call is automatically restarted.
-(The handler is installed using the
+Any handler installed with
+.Xr signal 3
+will have the
.Dv SA_RESTART
-flag with
-.Xr sigaction 2 . )
+flag set, meaning that any restartable system call will not return on
+receipt of a signal.
The affected system calls include
.Xr read 2 ,
.Xr write 2 ,
OpenPOWER on IntegriCloud