From: Ulrich Drepper Date: Tue, 27 Jul 1999 00:18:20 +0000 (+0000) Subject: Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. X-Git-Tag: glibc-2.16-ports-before-merge~2874 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=078a1bd7067aab4683a72d773e89616764ce3db3;p=thirdparty%2Fglibc.git Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. --- 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 */