diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-07-23 23:45:33 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-07-23 23:45:33 -0400 |
commit | e3eb49321c85e43fcc6842f3f57ee097b32555e4 (patch) | |
tree | 126e8f35f23c92fdb7ff8f805c7d59b662c8b7ae /src/unistd/usleep.c | |
parent | c0fe5b9da9f98b83262717c0090817f1fbb3d8a0 (diff) | |
download | musl-e3eb49321c85e43fcc6842f3f57ee097b32555e4.tar.gz musl-e3eb49321c85e43fcc6842f3f57ee097b32555e4.tar.xz musl-e3eb49321c85e43fcc6842f3f57ee097b32555e4.zip |
some preliminaries for vdso clock support
these changes also make it so clock_gettime(CLOCK_REALTIME, &ts) works even on pre-2.6 kernels, emulated via the gettimeofday syscall. there is no cost for the fallback check, as it falls under the error case that already must be checked for storing the error code in errno, but which would normally be hidden inside __syscall_ret.
Diffstat (limited to 'src/unistd/usleep.c')
0 files changed, 0 insertions, 0 deletions