summaryrefslogtreecommitdiffstats
path: root/libc/unistd/sleep.c
Commit message (Collapse)AuthorAgeFilesLines
* Sleep was returning the wrong value because:David McCullough2003-05-141-2/+4
| | | | | | | | | * nanosleep returns the remaining time, not the time slept * nanosleep only fills out the remaining time if it returns -1 (ie., the sleep was interrupted) Fix from Paul Dale <pauli@snapgear.com>
* Take the shorcut version, which is good enough forEric Andersen2002-01-021-2/+2
| | | | | nearly all normal usage. -Erik
* Fix usleep to work correctly. Fix sleep behavior in theEric Andersen2002-01-021-14/+98
| | | | | presence of SIGCHLD. -Erik
* Update to accomodate the header file changesEric Andersen2001-09-271-2/+2
|
* More cleanups. Fix things so tinylogin compiles.Eric Andersen2000-11-041-1/+1
| | | | Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
* Reorg unistd dirEric Andersen2000-10-111-0/+24