From: Jarkko Hietaniemi Date: Thu, 18 Jul 2002 18:10:29 +0000 (+0000) Subject: Add a pointer about the non-portability of ctime, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df2a7e4872aad51575d5c379732dd6b159d65086;p=p5sagit%2Fp5-mst-13.2.git Add a pointer about the non-portability of ctime, based on Yves Orton's patch. p4raw-id: //depot/perl@17626 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 40e2dd0..56201d4 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 +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: