From 078a1bd7067aab4683a72d773e89616764ce3db3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Jul 1999 00:18:20 +0000 Subject: [PATCH] Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. --- sysdeps/unix/sysv/linux/alpha/bits/time.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sysdeps/unix/sysv/linux/alpha/bits/time.h b/sysdeps/unix/sysv/linux/alpha/bits/time.h index aeb03b63415..bbf93f69529 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/time.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/time.h @@ -39,6 +39,20 @@ # define CLK_TCK 1024 # endif +/* Clock ID used in clock and timer functions. */ +typedef int __clockid_t; + +/* Timer ID returned by `timer_create'. */ +typedef int __timer_t; + +# ifdef __USE_POSIX199309 +/* Identifier for system-wide realtime clock. */ +# define CLOCK_REALTIME 0 + +/* Flag to indicate time is absolute. */ +# define TIMER_ABSTIME 1 +# endif + # endif /* bits/time.h */ #endif /* !__need_timeval */ -- 2.47.3