add clock id macros for a number of new(ish) Linux-specific clocks
authorRich Felker <dalias@aerifal.cx>
Sat, 8 Jun 2013 15:42:52 +0000 (11:42 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 8 Jun 2013 15:42:52 +0000 (11:42 -0400)
commit4191d2447673e6b03722198871af0daf9390cb51
treeda83cb915885f2bf0d28486a93d72644a9e0ca89
parent01739902843e93ec6e9bf8e17d32c8ddf73fad81
add clock id macros for a number of new(ish) Linux-specific clocks

arguably CLOCK_MONOTONIC should be redirected to CLOCK_BOOTTIME with a
fallback for old kernels that don't support it, since Linux's
CLOCK_BOOTTIME semantics seem to match the spirit of the POSIX
requirements for CLOCK_MONOTONIC better than Linux's version of
CLOCK_MONOTONIC does. however, this is a change that would require
further discussion and research, so for now, I'm simply making them
all available.
include/time.h