+ Added disk functions

This commit is contained in:
michael 1998-10-11 13:41:32 +00:00
parent d03858ae89
commit 09e00f20fa

29
rtl/objpas/diskh.inc Normal file
View File

@ -0,0 +1,29 @@
{
$Id$
This file is part of the Free Pascal run time library.
Copyright (c) 1998 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) : Longint;
Function DiskSize (Drive : Byte) : Longint;
Function GetCurrentDir : String;
Function SetCurrentDir (Const NewDir : String) : Boolean;
Function CreateDir (Const NewDir : String) : Boolean;
Function RemoveDir (Const Dir : String) : Boolean;
{
$Log$
Revision 1.1 1998-10-11 13:41:32 michael
+ Added disk functions
}