diff options
Diffstat (limited to 'bin/sleep/sleep.1')
-rw-r--r-- | bin/sleep/sleep.1 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1 index 4174f32bd18..786ae182297 100644 --- a/bin/sleep/sleep.1 +++ b/bin/sleep/sleep.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sleep.1,v 1.18 2010/07/22 08:09:29 jmc Exp $ +.\" $OpenBSD: sleep.1,v 1.19 2010/09/03 09:53:20 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: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt SLEEP 1 .Os .Sh NAME @@ -51,6 +51,19 @@ 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. +.El .Sh EXAMPLES Wait a half hour before running the script .Pa command_file @@ -92,19 +105,6 @@ while true; do sleep 5 done .Ed -.Pp -The -.Nm -utility exits with one of the following values: -.Pp -.Bl -tag -width flag -compact -.It 0 -On successful completion, or if the signal -.Dv SIGALRM -was received. -.It \*(Gt0 -An error occurred. -.El .Sh SEE ALSO .Xr at 1 , .Xr nanosleep 2 , |