summaryrefslogtreecommitdiffstats
path: root/usr.bin/touch/touch.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-03-28 13:13:22 +0000
committered <ed@FreeBSD.org>2010-03-28 13:13:22 +0000
commit4f08ecd7ed8b39a0e0cd094967835fa85d105793 (patch)
tree303a032d575560ac8850d94e75f68865c40f1161 /usr.bin/touch/touch.c
parent9eaa28fa3641501bd3b827e9b55aa8240713c80d (diff)
downloadFreeBSD-src-4f08ecd7ed8b39a0e0cd094967835fa85d105793.zip
FreeBSD-src-4f08ecd7ed8b39a0e0cd094967835fa85d105793.tar.gz
Rename st_*timespec fields to st_*tim for POSIX 2008 compliance.
A nice thing about POSIX 2008 is that it finally standardizes a way to obtain file access/modification/change times in sub-second precision, namely using struct timespec, which we already have for a very long time. Unfortunately POSIX uses different names. This commit adds compatibility macros, so existing code should still build properly. Also change all source code in the kernel to work without any of the compatibility macros. This makes it all a less ambiguous. I am also renaming st_birthtime to st_birthtim, even though it was a local extension anyway. It seems Cygwin also has a st_birthtim.
Diffstat (limited to 'usr.bin/touch/touch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud