mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-20 15:21:39 +02:00
36 lines
877 B
PHP
36 lines
877 B
PHP
{
|
|
$Id$
|
|
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$
|
|
Revision 1.5 2005-02-14 17:13:31 peter
|
|
* truncate log
|
|
|
|
}
|
|
|