mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-22 15:31:50 +02:00
44 lines
1.2 KiB
PHP
44 lines
1.2 KiB
PHP
{
|
|
$Id$
|
|
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.
|
|
|
|
**********************************************************************}
|
|
|
|
{$ifdef Int64}
|
|
Function DiskFree(drive: byte) : int64;
|
|
Function DiskSize(drive: byte) : int64;
|
|
{$else}
|
|
Function DiskFree(drive: byte) : longint;
|
|
Function DiskSize(drive: byte) : longint;
|
|
{$endif}
|
|
Function GetCurrentDir : String;
|
|
Function SetCurrentDir (Const NewDir : String) : Boolean;
|
|
Function CreateDir (Const NewDir : String) : Boolean;
|
|
Function RemoveDir (Const Dir : String) : Boolean;
|
|
|
|
{
|
|
$Log$
|
|
Revision 1.5 2000-05-15 19:28:41 peter
|
|
* int64 support for diskfree,disksize
|
|
|
|
Revision 1.4 2000/02/09 16:59:32 peter
|
|
* truncated log
|
|
|
|
Revision 1.3 2000/01/07 16:41:43 daniel
|
|
* copyright 2000
|
|
|
|
Revision 1.2 1999/11/06 14:41:30 peter
|
|
* truncated log
|
|
|
|
}
|