From: Albert ARIBAUD (3ADEV) Date: Thu, 7 Sep 2017 22:42:07 +0000 (+0200) Subject: Y2038: add struct __itimerval64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f363546f1a5d965c75226512431c088660667cb3;p=thirdparty%2Fglibc.git Y2038: add struct __itimerval64 --- diff --git a/time/sys/time.h b/time/sys/time.h index 4e6255e34d4..b7fe339d6d5 100644 --- a/time/sys/time.h +++ b/time/sys/time.h @@ -110,6 +110,16 @@ struct itimerval struct timeval it_value; }; +/* 64-BIT-TIME Type of the second argument to `getitimer' and + the second and third arguments `setitimer'. */ +struct __itimerval64 + { + /* Value to put into `it_value' when the timer expires. */ + struct __timeval64 it_interval; + /* Time to the next timer expiration. */ + struct __timeval64 it_value; + }; + #if defined __USE_GNU && !defined __cplusplus /* Use the nicer parameter type only in GNU mode and not for C++ since the strict C++ rules prevent the automatic promotion. */