1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00

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
This commit is contained in:
Simon L. B. Nielsen 2008-07-17 21:54:23 +00:00
parent f8c76347e1
commit 863a8774c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180578

View File

@ -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 ,