Changes in uspace/lib/posix/source/unistd.c [1165a419:582a0b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/unistd.c
r1165a419 r582a0b8 45 45 46 46 #include "libc/task.h" 47 #include "libc/thread.h"48 47 #include "libc/stats.h" 49 48 #include "libc/malloc.h" … … 57 56 char **posix_environ = NULL; 58 57 char *posix_optarg; 59 60 /**61 * Sleep for the specified number of seconds.62 *63 * Note that POSIX allows this call to be interrupted and then the return64 * value represents remaining seconds for the sleep. HelenOS does not offer65 * such functionality and thus always the whole sleep is taken.66 *67 * @param seconds Number of seconds to sleep.68 * @return Always 0 on HelenOS.69 */70 unsigned int posix_sleep(unsigned int seconds)71 {72 return thread_sleep(seconds);73 }74 58 75 59 /**
Note:
See TracChangeset
for help on using the changeset viewer.