diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-08-10 15:16:30 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-08-10 15:16:30 +0000 |
commit | 7e299411ac91383d8a28de9fadd2b4ed8a148fff (patch) | |
tree | e421e66d68eaf7f17104e054dc7a83b5a1f44c3c /include/time.h | |
parent | f4d5e7d8b534fc331ac4680fe09a3b43fa9a5191 (diff) | |
download | src-test2-7e299411ac91383d8a28de9fadd2b4ed8a148fff.tar.gz src-test2-7e299411ac91383d8a28de9fadd2b4ed8a148fff.zip |
Notes
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index e3c51abeb14c..26e208ffa65b 100644 --- a/include/time.h +++ b/include/time.h @@ -206,6 +206,11 @@ time_t posix2time(time_t t); #if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_) #include <xlocale/_time.h> #endif + +/* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */ +#define TIME_UTC 1 /* time elapsed since epoch */ +int timespec_get(struct timespec *ts, int base); + __END_DECLS #endif /* !_TIME_H_ */ |