aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDiomidis Spinellis <dds@FreeBSD.org>2003-10-20 13:52:22 +0000
committerDiomidis Spinellis <dds@FreeBSD.org>2003-10-20 13:52:22 +0000
commitaefcc0fcac38bdea1043899589e6f3ba79737e2e (patch)
tree5437ac33f7b207e69428fb5391ea72f23736e37f /lib
parent2e7deb2b866980716411d892e94a2b1e75a1d4c4 (diff)
downloadsrc-aefcc0fcac38bdea1043899589e6f3ba79737e2e.tar.gz
src-aefcc0fcac38bdea1043899589e6f3ba79737e2e.zip
Bring the description of st_[cma]time modification conditions a bit
closer to reality. More work remains to be done. st_mtime should be the most complete based on IEEE Std 1003.1, 2003 Edition, a review of ufs_vnops.c, and some experimentation.
Notes
Notes: svn path=/head/; revision=121279
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/stat.224
1 files changed, 18 insertions, 6 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index d5ec69ef8a2a..649807a9e582 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -95,30 +95,42 @@ are as follows:
Time when file data last accessed.
Changed by the
.Xr mknod 2 ,
-.Xr utimes 2
-and
+.Xr utimes 2 ,
.Xr read 2
+and
+.Xr readv 2
system calls.
.It Va st_mtime
Time when file data last modified.
Changed by the
+.Xr mkdir 2 ,
+.Xr mkfifo 2 ,
.Xr mknod 2 ,
-.Xr utimes 2
-and
+.Xr utimes 2 ,
.Xr write 2
+and
+.Xr writev 2
system calls.
.It Va st_ctime
Time when file status was last changed (inode data modification).
Changed by the
+.Xr chflags 2 ,
.Xr chmod 2 ,
.Xr chown 2 ,
+.Xr creat 2 ,
.Xr link 2 ,
+.Xr mkdir 2 ,
+.Xr mkfifo 2 ,
.Xr mknod 2 ,
.Xr rename 2 ,
+.Xr rmdir 2 ,
+.Xr symlink 2 ,
+.Xr truncate 2 ,
.Xr unlink 2 ,
-.Xr utimes 2
-and
+.Xr utimes 2 ,
.Xr write 2
+and
+.Xr writev 2
system calls.
.It Va st_birthtime
Time when the inode was created.