utimes(2),utime(3): Add deprecation in favour of utimensat(2) and futimens(2).
commit563b27479d0b1c0ffa26232b3d397e3ef0124590
authorjilles <jilles@FreeBSD.org>
Thu, 9 Jun 2016 22:14:58 +0000 (9 22:14 +0000)
committerjilles <jilles@FreeBSD.org>
Thu, 9 Jun 2016 22:14:58 +0000 (9 22:14 +0000)
tree8a65cd6c77bd6b3ec0d93048a55612c09f6fdad3
parent7e85cd3717a06b98f2acad2c3fc5fd8384a929ef
utimes(2),utime(3): Add deprecation in favour of utimensat(2) and futimens(2).

Setting time by seconds or microseconds may cause unexpected effects
especially if sysctl vfs.timestamp_precision=3 (not default).

Calling the obsolete functions with NULL timestamps is acceptable.
lib/libc/gen/utime.3
lib/libc/sys/utimes.2