summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>2017-09-08 00:42:12 +0200
committerAlbert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>2018-02-01 12:15:01 +0100
commitead40aa24868e39d79e941e0a7e3bc29d8865de9 (patch)
tree9e26119cd0b212e6f7cc3d3cb6eab8dc3e4fa390
parent91208d223c691fbe45fd06fed9d537252972d348 (diff)
downloadglibc-ead40aa24868e39d79e941e0a7e3bc29d8865de9.tar.gz
Y2038: add struct __ntp_timeval_t64
-rw-r--r--include/time.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index dbabb81eb6..94d5d871e5 100644
--- a/include/time.h
+++ b/include/time.h
@@ -61,6 +61,19 @@ struct __itimerval_t64
struct __timeval64 it_value;
};
+struct __ntptimeval_t64
+{
+ struct __timeval64 time; /* current time (ro) */
+ long int maxerror; /* maximum error (us) (ro) */
+ long int esterror; /* estimated error (us) (ro) */
+ long int tai; /* TAI offset (ro) */
+
+ long int __glibc_reserved1;
+ long int __glibc_reserved2;
+ long int __glibc_reserved3;
+ long int __glibc_reserved4;
+};
+
extern __typeof (clock_getres) __clock_getres;
extern __typeof (clock_gettime) __clock_gettime;
libc_hidden_proto (__clock_gettime)