mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-03 04:47:31 +01:00
35 lines
883 B
PHP
35 lines
883 B
PHP
{
|
|
This file is part of the Free Pascal run time library.
|
|
Copyright (c) 2002 by Marco van de Voort
|
|
|
|
Some generic overloads for stringfunctions in the unix unit.
|
|
|
|
See the file COPYING.FPC, included in this distribution,
|
|
for details about the copyright.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
**********************************************************************}
|
|
|
|
Function StatFS(Path:ansistring;Var Info:Tstatfs):cint;
|
|
|
|
{
|
|
Get all information on a fileSystem, and return it in Info.
|
|
Path is the name of a file/directory on the fileSystem you wish to
|
|
investigate.
|
|
}
|
|
|
|
begin
|
|
statfs:=statfs(pchar(path),info);
|
|
end;
|
|
|
|
{
|
|
$Log: unxovl.inc,v $
|
|
Revision 1.5 2005/02/14 17:13:31 peter
|
|
* truncate log
|
|
|
|
}
|
|
|