about summary refs log tree commit diff
path: root/src/time/clock_gettime.c
Commit message (Collapse)AuthorAgeFilesLines
* use weak aliase rather than weak reference for vdso clock_gettimeRich Felker2011-08-071-8/+12
| | | | | | | | this works around pcc's lack of working support for weak references, and in principle is nice because it gets us back to the stage where the only weak symbol feature we use is weak aliases, nothing else. having fewer dependencies on fancy linker features is a good thing.
* workaround for gcc's optimizer breaking dynamic symbol resolutionRich Felker2011-07-241-1/+2
|
* const correctness on function pointerRich Felker2011-07-241-1/+1
|
* some preliminaries for vdso clock supportRich Felker2011-07-231-2/+23
| | | | | | | | 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.
* global cleanup to use the new syscall interfaceRich Felker2011-03-201-1/+1
|
* fix errno behavior in clock_* functionsRich Felker2011-03-101-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_* interfacesRich Felker2011-02-191-0/+1
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+7