summaryrefslogtreecommitdiff
path: root/bin/sleep/sleep.c
AgeCommit message (Collapse)Author
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
ok guenther step
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
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
rescinded 22 July 1999. Proofed by myself and Theo.
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
last commit here.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.
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
too long); problem noted by viha@vip.fi
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