]> git.ipfire.org Git - thirdparty/glibc.git/commit
time: Add a timeval with a 32-bit tv_sec and tv_usec
authorAlistair Francis <alistair.francis@wdc.com>
Fri, 27 Dec 2019 17:07:40 +0000 (09:07 -0800)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 27 Mar 2020 18:23:15 +0000 (11:23 -0700)
commitd1876749a8e51b3bd632561ed7dfcdbbfce59d33
tree317cf974fd2e01c71e7dbe24d56530c39a8fb29e
parent4da2597af5cda0752c7526fe97398a5dafc15cbf
time: Add a timeval with a 32-bit tv_sec and tv_usec

On y2038 safe 32-bit systems the Linux kernel expects itimerval to
use a 32-bit time_t, even though the other time_t's are 64-bit. To
address this let's add a __timeval32 struct to be used internally.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
include/time.h