diff options
author | David McCullough <davidm@snapgear.com> | 2003-05-14 05:10:58 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2003-05-14 05:10:58 +0000 |
commit | f9709e559a9abf66546c9fe6cf269167c18b9e74 (patch) | |
tree | 9a72b63bfe566dbc2928d0ddbaa319c1e9417a38 /libc/stdio | |
parent | c5ace0d2c9340e3fc72b880ce9364a529b1226f3 (diff) |
Sleep was returning the wrong value because:
* 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>
Diffstat (limited to 'libc/stdio')
0 files changed, 0 insertions, 0 deletions