Date: Thu, 18 May 2006 18:25:40 -0400 From: Craig Rodrigues <rodrigc@crodrigues.org> To: freebsd-doc@freebsd.org Subject: Re: System call restart section in intro(2)? Message-ID: <20060518222540.GA5795@crodrigues.org> In-Reply-To: <44681EEF.2090804@jamesbailie.com> References: <20060515050947.GA47039@crodrigues.org> <44681EEF.2090804@jamesbailie.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060518222540.GA5795>