summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2003-10-20 13:52:22 +0000
committerdds <dds@FreeBSD.org>2003-10-20 13:52:22 +0000
commit29609834fe22ae1a591ae9f29739f3d40260b54e (patch)
tree5437ac33f7b207e69428fb5391ea72f23736e37f /lib/libc
parent0468baeb3ff3a4ee3ae8e12e01a5a0e7b19e1856 (diff)
downloadFreeBSD-src-29609834fe22ae1a591ae9f29739f3d40260b54e.zip
FreeBSD-src-29609834fe22ae1a591ae9f29739f3d40260b54e.tar.gz
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.
Diffstat (limited to 'lib/libc')
-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 d5ec69e..649807a 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.
OpenPOWER on IntegriCloud