about summary refs log tree commit diff
path: root/inet/tst-sockaddr.c
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-01-16 23:40:51 +0100
committerLukasz Majewski <lukma@denx.de>2020-02-07 17:55:08 +0100
commit504c98717062cb9bcbd4b3e59e932d04331ddca5 (patch)
tree160f4da74fa1d00f12c80ec3134ea6fa2075e28f /inet/tst-sockaddr.c
parent3fced064f23562ec24f8312ffbc14950993969e6 (diff)
downloadglibc-504c98717062cb9bcbd4b3e59e932d04331ddca5.tar.gz
glibc-504c98717062cb9bcbd4b3e59e932d04331ddca5.tar.xz
glibc-504c98717062cb9bcbd4b3e59e932d04331ddca5.zip
y2038: Introduce struct __timeval64 - new internal glibc type
This type is a glibc's "internal" type similar to struct timeval but
whose tv_sec field is a __time64_t rather than a time_t, which makes it
Y2038-proof. This struct is NOT supposed to be passed to the kernel -
instead it shall be converted to struct __timespec64 and clock_[sg]ettime
syscalls shall be used (which are now Y2038 safe).

Build tests:
./src/scripts/build-many-glibcs.py glibcs

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'inet/tst-sockaddr.c')
0 files changed, 0 insertions, 0 deletions