System call restart section in intro(2)?

Craig Rodrigues rodrigc at crodrigues.org
Thu May 18 22:25:38 UTC 2006


On Mon, May 15, 2006 at 02:25:51AM -0400, James Bailie wrote:
> Craig Rodrigues wrote:
> >Hi,
> >
> >In the wait(2) man page, it states, 
> >     If a signal is caught while any of the wait() calls are pending, the 
> >     call
> >     may be interrupted or restarted when the signal-catching routine 
> >     returns,
> >     depending on the options in effect for the signal; see intro(2), 
> >     System
> >     call restart.
> >
> >
> >Where is this section in intro(2)?
> 
> man sigaction probably has the information your looking for.


Indeed it does.  How about we remove this non-existent reference from
wait(2):

Index: wait.2
===================================================================
RCS file: /home/ncvs/src/lib/libc/sys/wait.2,v
retrieving revision 1.26
diff -u -u -r1.26 wait.2
--- wait.2      13 Dec 2005 13:43:35 -0000      1.26
+++ wait.2      18 May 2006 22:24:10 -0000
@@ -230,9 +230,10 @@
 the call may be interrupted or restarted when the signal-catching routine
 returns,
 depending on the options in effect for the signal;
-see
-.Xr intro 2 ,
-System call restart.
+see discussion of
+.Dv SA_RESTART
+in
+.Xr sigaction 2 .
 .Pp
 The implementation queues one
 .Dv SIGCHLD





-- 
Craig Rodrigues        
rodrigc at crodrigues.org



More information about the freebsd-doc mailing list