Micha Nelissen writes:
Francisco Reyes wrote:
Trying the fstat function and don't seem to be getting the right values
for ctime, mtime and atime.
What OS and CPU ?
Tried FreeBSD 6.3 on i386, AMD CPU and Opensuse 10.3 64 bits AMD cpu
___
fpc-pascal
Francisco Reyes wrote:
Trying the fstat function and don't seem to be getting the right values
for ctime, mtime and atime.
What OS and CPU ?
Micha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinf
Trying the fstat function and don't seem to be getting the right values for
ctime, mtime and atime.
-- filedate.pp
uses BaseUnix,DateUtils,SysUtils;
var
info : stat ;
begin
if fpstat ('myfile.txt' , info) <>0 then
begin
writeln ('Fstat failed . Errno : ' , fpgeterrno) ;
halt ( 1 )