summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-07-18 18:10:29 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-18 18:10:29 +0000
commitdf2a7e4872aad51575d5c379732dd6b159d65086 (patch)
tree69e1458eda39bfee4e538371184dbb7b6ffdd3da
parentcf5baa4869b9f9ab8e2d559f474c8e805806c370 (diff)
downloadperl-df2a7e4872aad51575d5c379732dd6b159d65086.tar.gz
Add a pointer about the non-portability of ctime,
based on Yves Orton's patch. p4raw-id: //depot/perl@17626
-rw-r--r--pod/perlfunc.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 40e2dd0491..56201d4971 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -5200,12 +5200,16 @@ meaning of the fields:
7 size total size of file, in bytes
8 atime last access time in seconds since the epoch
9 mtime last modify time in seconds since the epoch
- 10 ctime inode change time (NOT creation time!) in seconds since the epoch
+ 10 ctime inode change time in seconds since the epoch (*)
11 blksize preferred block size for file system I/O
12 blocks actual number of blocks allocated
(The epoch was at 00:00 January 1, 1970 GMT.)
+(*) The ctime field is non-portable, in particular you cannot expect
+it to be a "creation time", see L<perlport/"Files and Filesystems">
+for details.
+
If stat is passed the special filehandle consisting of an underline, no
stat is done, but the current contents of the stat structure from the
last stat or filetest are returned. Example: