aboutsummaryrefslogtreecommitdiff
path: root/src/time/clock_getcpuclockid.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fix ESRCH error handling for clock_getcpuclockid•••the syscall used to probe availability of the clock fails with EINVAL when the requested pid does not exist, but clock_getcpuclockid is specified to use ESRCH for this purpose. Eugene Yudin2022-08-011-0/+1
* support cputime clocks for processes/threads other than self•••apparently these features have been in Linux for a while now, so it makes sense to support them. the bit twiddling seems utterly illogical and wasteful, especially the negation, but that's how the kernel folks chose to encode pids/tids into the clock id. Rich Felker2013-06-081-2/+5
* implement the remaining clock_* interfacesRich Felker2011-02-191-0/+11