projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e9b465b
)
Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME.
author
drepper
<drepper>
Tue, 27 Jul 1999 00:17:49 +0000
(
00:17
+0000)
committer
drepper
<drepper>
Tue, 27 Jul 1999 00:17:49 +0000
(
00:17
+0000)
sysdeps/mach/hurd/bits/time.h
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/bits/time.h
b/sysdeps/mach/hurd/bits/time.h
index
2305704
..
69a64cf
100644
(file)
--- a/
sysdeps/mach/hurd/bits/time.h
+++ b/
sysdeps/mach/hurd/bits/time.h
@@
-41,6
+41,20
@@
extern int __libc_clk_tck __P ((void)) __attribute__ ((const));
# endif
extern int __libc_clk_tck __P ((void)) __attribute__ ((const));
# 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
# endif /* bits/time.h */
#endif