From owner-freebsd-current Wed Aug 13 07:31:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA19901 for current-outgoing; Wed, 13 Aug 1997 07:31:17 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA19895 for ; Wed, 13 Aug 1997 07:31:14 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id AAA14481; Thu, 14 Aug 1997 00:26:58 +1000 Date: Thu, 14 Aug 1997 00:26:58 +1000 From: Bruce Evans Message-Id: <199708131426.AAA14481@godzilla.zeta.org.au> To: ache@nagual.pp.ru, sos@sos.freebsd.dk Subject: Re: Error in sleep ! Cc: current@freebsd.org Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Here is quote from Solaris manpage (their manpages usually better >than ours :-) > >SunOS 5.5.1 Last change: 1 Feb 1995 1 This seems to have been "Obtained:" from the POSIX.2 spec :-). In the following, ">" quotes ache's mail and "&" quotes a draft version of the spec: >NOTES &4.57.5.4 Asynchronous Events & > If the sleep utility receives a SIGALRM signal, one of the & If the sleep utility receives a SIGALRM signal, one of the > following actions will be taken: & following actions shall be taken: > & > +o Terminate normally with a zero exit status. & (1) Terminate normally with a zero exit status > & > +o Effectively ignore the signal. & (2) Effectively ignore the signal > & & (3) Provide the default behavior for signals described in 2.11.5.4. & This could include terminating with a nonzero exit status. & > The sleep utility will take the standard action for all & The sleep utility shall take the standard action for all other signals; > other signals. & see 2.11.5.4. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Bruce