[fpc-devel] inode number
Michael Schnell
mschnell at lumino.de
Mon Sep 24 11:54:22 CEST 2012
On 09/24/2012 10:33 AM, michael.vancanneyt at wisa.be wrote:
>
> You need to use the fpstat function for this. The stat record contains
> the
> inode number.
>
While with
uses libc, Linux, Unix, unixtype;
I can use the Function "fpStatFS(Path:ansistring;Info:PStatfs):cint;"
(which provides useful information of the filer system) successfully,
and I did find
"function Fpstat(path: pchar; var buf: stat):cint; [public, alias :
'FPC_SYSC_STAT'];"
in /linux/ossysc.inc;
I can't find a way to call Fpstat(), nor do I find what the type "stat"
used there is supposed to be.
Thanks again,
-Michael
More information about the fpc-devel
mailing list