summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-05-12 03:51:40 (GMT)
committerFred Drake <fdrake@acm.org>2004-05-12 03:51:40 (GMT)
commit1cd6e4dc38c7f7de3b39d93cb503ee2058662bcd (patch)
treeded65f426487cdb7595fc6d4c7e5eeaf76f2f591 /Doc
parent043fff088162c86f410fa2847e04d68a5213129f (diff)
downloadcpython-1cd6e4dc38c7f7de3b39d93cb503ee2058662bcd.zip
cpython-1cd6e4dc38c7f7de3b39d93cb503ee2058662bcd.tar.gz
cpython-1cd6e4dc38c7f7de3b39d93cb503ee2058662bcd.tar.bz2
fix various descriptions of "ctime"
(closes SF patch #870287)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libos.tex3
-rw-r--r--Doc/lib/libstat.tex5
2 files changed, 6 insertions, 2 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 211d194..a61e97c 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -909,7 +909,8 @@ the \ctype{stat} structure, namely:
\member{st_atime} (time of most recent access),
\member{st_mtime} (time of most recent content modification),
\member{st_ctime}
-(time of most recent content modification or metadata change).
+(platform dependent; time of most recent metadata change on \UNIX, or
+the time of creation on Windows).
\versionchanged [If \function{stat_float_times} returns true, the time
values are floats, measuring seconds. Fractions of a second may be
diff --git a/Doc/lib/libstat.tex b/Doc/lib/libstat.tex
index 74ccc37..d5353f1 100644
--- a/Doc/lib/libstat.tex
+++ b/Doc/lib/libstat.tex
@@ -110,7 +110,10 @@ Time of last modification.
\end{datadesc}
\begin{datadesc}{ST_CTIME}
-Time of last status change (see manual pages for details).
+The ``ctime'' as reported by the operating system. On some systems
+(like \UNIX) is the time of the last metadata change, and, on others
+(like Windows), is the creation time (see platform documentation for
+details).
\end{datadesc}
The interpretation of ``file size'' changes according to the file