mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-31 13:27:55 +02:00
33 lines
1.0 KiB
PHP
33 lines
1.0 KiB
PHP
{
|
|
This file is part of the Free Pascal run time library.
|
|
Copyright (c) 1999-2000 by the Free Pascal development team
|
|
|
|
Disk functions from Delphi's sysutils.pas
|
|
|
|
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 DiskFree(drive: byte) : int64;
|
|
Function DiskSize(drive: byte) : int64;
|
|
Function GetCurrentDir : String;
|
|
Function SetCurrentDir (Const NewDir : String) : Boolean;
|
|
Function CreateDir (Const NewDir : String) : Boolean;
|
|
Function RemoveDir (Const Dir : String) : Boolean;
|
|
Function ForceDirectories(Const Dir: string): Boolean;
|
|
|
|
{
|
|
$Log: diskh.inc,v $
|
|
Revision 1.3 2005/02/14 17:13:31 peter
|
|
* truncate log
|
|
|
|
Revision 1.2 2005/01/14 12:59:25 michael
|
|
+ Implemented ForceDirectories for Delphi compatibility
|
|
|
|
}
|