about summary refs log tree commit diff
path: root/src/signal/setitimer.c
Commit message (Collapse)AuthorAgeFilesLines
* setitimer, getitimer: decouple time_t from longRich Felker2019-07-291-0/+19
| | | | | | | | | | | | | | | | these functions have no new time64 syscall, so the existence of a time64 syscall cannot be used as the condition for the new code. instead, assume the syscall takes timevals as longs, which is true everywhere but x32, and interface with the kernel through long[4] objects. rather than adding new hacks to special-case x32 here, just add x32-specific source files since a trivial syscall wrapper suffices there. the new code paths added in this commit are statically unreachable on all current archs, but will become reachable when 32-bit archs get 64-bit time_t.
* use restrict everywhere it's required by c99 and/or posix 2008Rich Felker2012-09-061-1/+1
| | | | | | | | to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict.
* global cleanup to use the new syscall interfaceRich Felker2011-03-201-9/+1
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+15