From owner-freebsd-doc@FreeBSD.ORG Thu May 18 22:25:38 2006 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D2E016A400 for ; Thu, 18 May 2006 22:25:38 +0000 (UTC) (envelope-from rodrigc@crodrigues.org) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id B645F43D48 for ; Thu, 18 May 2006 22:25:37 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from c-24-147-19-128.hsd1.ma.comcast.net (c-71-233-168-2.hsd1.ma.comcast.net[71.233.168.2](misconfigured sender)) by comcast.net (rwcrmhc12) with ESMTP id <20060518222536m12003ult3e>; Thu, 18 May 2006 22:25:36 +0000 Received: from c-24-147-19-128.hsd1.ma.comcast.net (localhost [127.0.0.1]) by c-24-147-19-128.hsd1.ma.comcast.net (8.13.6/8.13.1) with ESMTP id k4IMPe1I005884 for ; Thu, 18 May 2006 18:25:40 -0400 (EDT) (envelope-from rodrigc@c-24-147-19-128.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-24-147-19-128.hsd1.ma.comcast.net (8.13.6/8.13.1/Submit) id k4IMPexE005883 for freebsd-doc@freebsd.org; Thu, 18 May 2006 18:25:40 -0400 (EDT) (envelope-from rodrigc) Date: Thu, 18 May 2006 18:25:40 -0400 From: Craig Rodrigues To: freebsd-doc@freebsd.org Message-ID: <20060518222540.GA5795@crodrigues.org> References: <20060515050947.GA47039@crodrigues.org> <44681EEF.2090804@jamesbailie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44681EEF.2090804@jamesbailie.com> User-Agent: Mutt/1.4.2.1i Subject: Re: System call restart section in intro(2)? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:25:38 -0000 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