projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
773d8a5
)
Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME.
author
Ulrich Drepper
<drepper@redhat.com>
Tue, 27 Jul 1999 00:18:20 +0000
(
00:18
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Tue, 27 Jul 1999 00:18:20 +0000
(
00:18
+0000)
sysdeps/unix/sysv/linux/alpha/bits/time.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/alpha/bits/time.h
b/sysdeps/unix/sysv/linux/alpha/bits/time.h
index
aeb03b6
..
bbf93f6
100644
(file)
--- 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 */