summaryrefslogtreecommitdiff
path: root/bin/sleep/sleep.c
AgeCommit message (Expand)Author
2020-02-25sleep(1): style(9) and other dustingcheloha
2019-07-01sleep(1): simplify argument parsingcheloha
2019-01-10Revert nanosleep(2) loop introduced in v1.25.cheloha
2018-02-04Print strtonum(3)-style error messages on invalid numeric input.cheloha
2018-02-02Extend range for seconds from 100 million to upper bound of time_t.cheloha
2015-10-11Don't return errno from main()Philip Guenther
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03So you'd love me to say sleep() can be tighter than tame "stdio". OK,Theo de Raadt
2015-09-22sleep doesn't benefit from setting locale. we always want to parse numbersTed Unangst
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-02-13argv space does not need to be trashed during parsingTheo de Raadt
2004-09-16ARGSUSED on signal handlerTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-09-06KNFTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-05-31Don't include cases for characters not in optstring; ericj. Snuck in on myPaul Janzen
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-09-06o) __progname aria;Mike Pechkin
2001-05-20trade 3 exits for returnMichael Shalayeff
2000-01-05Return EINVAL if we can't sleep for the specified time interval (i.e. it'sPaul Janzen
1997-09-12#include <ctype.h>Todd C. Miller
1997-08-19POSIX 1003.2: exit w/ 0 code if receive SIGALRM.denny
1997-06-29Reject non-numeric argument (so can't use atoi).denny
1997-06-29Make sleep handle fractions of a second. Why not?denny
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt