summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-08-09 15:00:59 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-08-09 15:00:59 (GMT)
commitebd9d5ba1abc432f3a11b99ac32657b4cea7ecfd (patch)
treef6ac9d05bb7227ea9bbccf8612e6e6b6553abe90 /Doc/lib
parent147fbe5a558094f5690636476ca8da648703141a (diff)
downloadcpython-ebd9d5ba1abc432f3a11b99ac32657b4cea7ecfd.zip
cpython-ebd9d5ba1abc432f3a11b99ac32657b4cea7ecfd.tar.gz
cpython-ebd9d5ba1abc432f3a11b99ac32657b4cea7ecfd.tar.bz2
Patch #1180695: Implement nanosecond stat resolution on FreeBSD,
add st_gen, st_birthtime.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libos.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 3d9056d..2e6636e 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -996,6 +996,12 @@ also be available:
\member{st_rdev} (type of device if an inode device).
\member{st_flags} (user defined flags for file).
+On other Unix systems (such as FreeBSD), the following attributes
+may be available (but may be only filled out of root tries to
+use them:
+\member{st_gen} (file generation number),
+\member{st_birthtime} (time of file creation).
+
On Mac OS systems, the following attributes may also be available:
\member{st_rsize},
\member{st_creator},
@@ -1037,6 +1043,7 @@ Availability: Macintosh, \UNIX, Windows.
\versionchanged
[Added access to values as attributes of the returned object]{2.2}
+\versionchanged[Added st_gen, st_birthtime]{2.5}
\end{funcdesc}
\begin{funcdesc}{stat_float_times}{\optional{newvalue}}