[Overview][Constants][Types][Index] Reference for unit 'unixtype' (#rtl)

TStatfs

Record describing a file system in the baseunix.fpstatfs call.

Declaration

Source position: ptypes.inc line 159

type TStatfs = packed record

  fstype: cint;

  

File system type

  bsize: cint;

  

Block size

  blocks: culong;

  

Total number of blocks

  bfree: culong;

  

Number of free blocks

  bavail: culong;

  

Number of available blocks

  files: culong;

  

Number of files

  ffree: culong;

  

?

  fsid: array [0..1] of cint;

  

?

  namelen: cint;

  

Max name length for files.

  frsize: cint;

  

Optimal block transfer size

  spare: array [0..4] of cint;

  

Pad bytes. Do not use.

end;

The latest version of this document can be found at lazarus-ccr.sourceforge.net.