| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
POSIX allows a null pointer, in which case the function only checks
the validity of the clock id argument.
|
|
|
|
|
|
|
|
|
|
| |
the time64 syscall for this is not necessary or useful, since clock
resolution is generally better than 68-year granularity. if there's a
32-bit syscall, use it and expand the result into timespec; otherwise
there is only one syscall and it does the right thing to store to
timespec directly.
on 64-bit archs, there is no change to the code after preprocessing.
|
| |
|
|
|
|
|
|
| |
these functions are specified inconsistent in whether they're
specified to return an error value, or return -1 and set errno.
hopefully now they all match what POSIX requires.
|
|
|