mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME.
This commit is contained in:
parent
773d8a5255
commit
078a1bd706
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user