summaryrefslogtreecommitdiff
path: root/src/misc/ioctl.c
AgeCommit message (Collapse)AuthorLines
2019-07-31ioctl: add fallback for new time64 SIOCGSTAMP[NS]Rich Felker-1/+24
without this, the SIOCGSTAMP and SIOCGSTAMPNS ioctl commands, for obtaining timestamps, would stop working on pre-5.1 kernels after time_t is switched to 64-bit and their values are changed to the new time64 versions. new code is written such that it's statically unreachable on 64-bit archs, and on existing 32-bit archs until the macro values are changed to activate 64-bit time_t.
2011-03-20global cleanup to use the new syscall interfaceRich Felker-1/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+13