From owner-freebsd-current Tue Aug 12 14:56:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA23802 for current-outgoing; Tue, 12 Aug 1997 14:56:31 -0700 (PDT) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA23792 for ; Tue, 12 Aug 1997 14:56:19 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id BAA00563; Wed, 13 Aug 1997 01:54:53 +0400 (MSD) Date: Wed, 13 Aug 1997 01:54:52 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Terry Lambert cc: sos@sos.freebsd.dk, current@FreeBSD.ORG Subject: siginterrupt (was Re: Error in sleep !) In-Reply-To: <199708122135.OAA07747@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 12 Aug 1997, Terry Lambert wrote: > > > > Type "man siginterrupt". > > > > > > Hmm, then that man page is in error too in -current :( > > > > This man page have nothing common with sleep signals interruption which > > directly required by POSIX in any case. Also all this stuff have no relations with sleep(3), one thing is unclear to me: > By default, in traditional BSD, after a signal, the call was > restarted. > > This man page is incorrect about the default for FreeBSD; so > is the signal man page. As I check, man page says that it will be restarted for FreeBSD too. What is incorrect here? I just check signal.c and see that SA_RESTART is set unless expicitly disabled by siginterrupt(3)... -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/