• R
    some preliminaries for vdso clock support · e3eb4932
    Rich Felker 提交于
    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.
    e3eb4932
clock_gettime.c 653 字节