diff options
author | Lukasz Majewski <lukma@denx.de> | 2020-04-23 00:20:51 +0200 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2020-05-20 01:03:27 +0200 |
commit | 10ae49d2ce4576d8bb8f01d1fc1cbdf550ad4cbd (patch) | |
tree | 6b0fe2ed5198fe40f00e62bad2f3acd8e95d5e3f /sysvipc | |
parent | df4289508a3a0e345a87544ee4eea8cbb4c9d197 (diff) | |
download | glibc-10ae49d2ce4576d8bb8f01d1fc1cbdf550ad4cbd.tar.gz glibc-10ae49d2ce4576d8bb8f01d1fc1cbdf550ad4cbd.tar.xz glibc-10ae49d2ce4576d8bb8f01d1fc1cbdf550ad4cbd.zip |
y2038: Provide conversion helpers for struct __ntptimeval64
Those functions allow easy conversion between Y2038 safe, glibc internal struct __ntptimeval64 and struct ntptimeval. The reserved fields (i.e. __glibc_reserved{1234}) during conversion are zeroed as well, to provide behavior similar to one in ntp_gettimex function (where those are cleared before the struct ntptimeval is returned). Those functions are put in Linux specific sys/timex.h file, as putting them into glibc's local include/time.h would cause build break on HURD as it doesn't support struct timex related syscalls. Build tests: ./src/scripts/build-many-glibcs.py glibcs Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysvipc')
0 files changed, 0 insertions, 0 deletions