Browse Source

+ Added disk functions

michael 27 years ago
parent
commit
09e00f20fa
1 changed files with 29 additions and 0 deletions
  1. 29 0
      rtl/objpas/diskh.inc

+ 29 - 0
rtl/objpas/diskh.inc

@@ -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
+
+}