From owner-freebsd-net Fri Jan 10 8: 7:25 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B059137B401 for ; Fri, 10 Jan 2003 08:07:23 -0800 (PST) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [193.201.200.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81CAA43EB2 for ; Fri, 10 Jan 2003 08:07:22 -0800 (PST) (envelope-from fanf@chiark.greenend.org.uk) Received: from fanf by chiark.greenend.org.uk with local (Exim 3.12 #1) id 18X1gg-000360-00 (Debian); Fri, 10 Jan 2003 16:07:14 +0000 Date: Fri, 10 Jan 2003 16:07:14 +0000 From: Tony Finch To: freebsd-net@freebsd.org Subject: Docco patch for review Message-ID: <20030110160714.D32571@chiark.greenend.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org There seems to be a slight lacuna in the signal documentation: --- src/lib/libc/gen/signal.3 19 Dec 2002 09:40:21 -0000 1.32 +++ src/lib/libc/gen/signal.3 10 Jan 2003 16:03:16 -0000 @@ -187,7 +187,9 @@ and during a .Xr ioctl 2 or -.Xr wait 2 . +.Xr wait 2 +or any other system call whose documentation says it may return +.Er EINTR . However, calls that have already committed are not restarted, but instead return a partial success (for example, a short read count). These semantics could be changed with --- src/lib/libc/sys/sigaction.2 27 Dec 2002 12:15:29 -0000 1.47 +++ src/lib/libc/sys/sigaction.2 10 Jan 2003 16:02:19 -0000 @@ -253,7 +253,9 @@ and during a .Xr wait 2 or -.Xr ioctl 2 . +.Xr ioctl 2 +or any other system call whose manual page says it may return +.Er EINTR . However, calls that have already committed are not restarted, but instead return a partial success (for example, a short read count). .Pp Tony. -- f.a.n.finch http://dotat.at/ DOVER WIGHT PORTLAND PLYMOUTH BISCAY: NORTH OR NORTHEAST VEERING EAST 5 OR 6, OCCASIONALLY 7. SHOWERS. MAINLY GOOD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message