diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2014-05-27 13:50:53 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2014-05-27 13:50:53 +0000 |
commit | e9b086e3d6325075bce541945db3ee068335808f (patch) | |
tree | ad7929735b18057120cff8a3de2d4c875be3c8ed /bin/sleep | |
parent | ae49b930ea594884d1e9833ec07a5340af17b573 (diff) |
document SIGALRM, since it's handling is somewhat special, and use
a standard EXIT STATUS blurb now that we can;
ok guenther sobrado millert
Diffstat (limited to 'bin/sleep')
-rw-r--r-- | bin/sleep/sleep.1 | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1 index e8042ce461e..71d8e7b9bd5 100644 --- a/bin/sleep/sleep.1 +++ b/bin/sleep/sleep.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sleep.1,v 1.20 2014/02/21 23:39:39 schwarze Exp $ +.\" $OpenBSD: sleep.1,v 1.21 2014/05/27 13:50:52 jmc Exp $ .\" $NetBSD: sleep.1,v 1.9 1995/07/25 19:37:43 jtc Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 @@ -33,7 +33,7 @@ .\" .\" @(#)sleep.1 8.3 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: February 21 2014 $ +.Dd $Mdocdate: May 27 2014 $ .Dt SLEEP 1 .Os .Sh NAME @@ -51,19 +51,13 @@ suspends execution for a minimum of the specified number of This number must be positive and may contain a decimal fraction. .Nm is commonly used to schedule the execution of other commands (see below). -.Sh EXIT STATUS -The -.Nm -utility exits with one of the following values: -.Pp -.Bl -tag -width Ds -offset indent -compact -.It 0 -On successful completion, or if the signal -.Dv SIGALRM -was received. -.It \*(Gt0 -An error occurred. +.Sh ASYNCHRONOUS EVENTS +.Bl -tag -width "SIGALRMXXX" +.It Dv SIGALRM +Terminate normally, with a zero exit status. .El +.Sh EXIT STATUS +.Ex -std sleep .Sh EXAMPLES Wait a half hour before running the script .Pa command_file |