glibc/sysdeps/unix/sysv/linux/x86_64/clock_gettime.c

15 lines
398 B
C
Raw Normal View History

#include "bits/libc-vdso.h"
#ifdef SHARED
# define SYSCALL_GETTIME(id, tp) \
2011-09-06 23:50:04 -04:00
({ long int (*f) (clockid_t, struct timespec *) = __vdso_clock_gettime; \
PTR_DEMANGLE (f); \
f (id, tp); })
# define INTERNAL_GETTIME(id, tp) \
2011-09-06 23:50:04 -04:00
({ long int (*f) (clockid_t, struct timespec *) = __vdso_clock_gettime; \
PTR_DEMANGLE (f); \
f (id, tp); })
#endif
#include "../clock_gettime.c"