fpStatFS

Retrieve file system information.

Declaration

Source position: unxsysch.inc line 19

  function fpStatFS(Path: pchar; Info: pstatfs) : cint;
  function fpStatFS(Path: ansistring; Info: pstatfs) : cint;

Description

fpStatFS returns in Info information about the file system on which the file or path Path resides. Info is of type tstatfs. The function returns 0 if the call was successful, or an error code if the call failed.

Errors

On error, a non-zero error code is returned

See also

Name Description
fpFStatFS Retrieve file system information.
#rtl.baseunix.fpStat Retrieve file information about a file descriptor.