]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME.
authorUlrich Drepper <drepper@redhat.com>
Tue, 27 Jul 1999 00:18:20 +0000 (00:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 27 Jul 1999 00:18:20 +0000 (00:18 +0000)
sysdeps/unix/sysv/linux/alpha/bits/time.h

index aeb03b634155bc49a6abed79333d56d93fea3229..bbf93f695292ac38091f6638ebac71aee7011843 100644 (file)
 #   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 */