Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove spurious null check in clock_settime | Rich Felker | 2019-08-07 | 1 | -1/+1 |
| | | | | | at the point of this check, the pointer has already been dereferenced. clock_settime is not defined for null pointer arguments. | ||||
* | clock_settime: add time64 syscall support, decouple 32-bit time_t | Rich Felker | 2019-07-29 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | time64 syscall is used only if it's the only one defined for the arch, or if the requested time does not fit in 32 bits. on current 32-bit archs where time_t is a 32-bit type, this makes it statically unreachable. if the time64 syscall is needed because the requested time does not fit in 32 bits, we define this as an error ENOTSUP, for "The implementation does not support the requested feature or value". on 64-bit archs, there is no change to the code after preprocessing. on current 32-bit archs, the time is moved through an intermediate copy to remove the assumption that time_t is a 32-bit type. | ||||
* | global cleanup to use the new syscall interface | Rich Felker | 2011-03-20 | 1 | -1/+1 |
| | |||||
* | fix errno behavior in clock_* functions | Rich Felker | 2011-03-10 | 1 | -1/+0 |
| | | | | | | 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. | ||||
* | implement the remaining clock_* interfaces | Rich Felker | 2011-02-19 | 1 | -0/+8 |