]> git.ipfire.org Git - thirdparty/man-pages.git/commit
utime.2, utimensat.2: explicitly mention ctime changing.
authorNeilBrown <neilb@suse.de>
Wed, 24 Aug 2022 01:21:34 +0000 (11:21 +1000)
committerAlejandro Colomar <alx.manpages@gmail.com>
Wed, 24 Aug 2022 11:47:35 +0000 (13:47 +0200)
commitcdbf35fff3f3b2ac28fa951626fa880d133e5807
treebf2c180576d2a6221af58c37b7835682b8435766
parent305cbe1bfeabefc4fc74ba587fa316d784d0d524
utime.2, utimensat.2: explicitly mention ctime changing.

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>
man2/utime.2
man2/utimensat.2