utime and related calls always change the ctime. It is worth making
this explicit.
This is clear from the code (vfs_utimes() in fs/utimes.c always sets
ATTR_CTIME) and is documented in
<https://pubs.opengroup.org/onlinepubs/
007904875/functions/utimes.html>
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
fields of
.I times
respectively.
+The status change time (ctime) will be set to the current time, even if the
+other time stamps don't actually change.
.PP
If
.I times
.I times
is NULL, then both timestamps are set to the current time.
.\"
+.PP
+The status change time (ctime) will be set to the current time, even if the
+other time stamps don't actually change.
.SS Permissions requirements
To set both file timestamps to the current time (i.e.,
.I times