Browse Source

Added disk functions

michael 27 years ago
parent
commit
dda63421b1
4 changed files with 236 additions and 0 deletions
  1. 59 0
      rtl/dos/go32v1/disk.inc
  2. 59 0
      rtl/dos/go32v2/disk.inc
  3. 59 0
      rtl/os2/disk.inc
  4. 59 0
      rtl/win32/disk.inc

+ 59 - 0
rtl/dos/go32v1/disk.inc

@@ -0,0 +1,59 @@
+{
+    $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;
+
+begin
+end;
+
+
+Function DiskSize (Drive : Byte) : Longint;
+
+begin
+end;
+
+
+Function GetCurrentDir : String;
+
+begin
+end;
+
+
+Function SetCurrentDir (Const NewDir : String) : Boolean;
+
+begin
+end;
+
+
+Function CreateDir (Const NewDir : String) : Boolean;
+
+begin
+end;
+
+
+Function RemoveDir (Const Dir : String) : Boolean;
+
+begin
+end;
+
+
+
+{
+ $Log$
+ Revision 1.1  1998-10-11 13:42:55  michael
+ Added disk functions
+
+}

+ 59 - 0
rtl/dos/go32v2/disk.inc

@@ -0,0 +1,59 @@
+{
+    $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;
+
+begin
+end;
+
+
+Function DiskSize (Drive : Byte) : Longint;
+
+begin
+end;
+
+
+Function GetCurrentDir : String;
+
+begin
+end;
+
+
+Function SetCurrentDir (Const NewDir : String) : Boolean;
+
+begin
+end;
+
+
+Function CreateDir (Const NewDir : String) : Boolean;
+
+begin
+end;
+
+
+Function RemoveDir (Const Dir : String) : Boolean;
+
+begin
+end;
+
+
+
+{
+ $Log$
+ Revision 1.1  1998-10-11 13:42:55  michael
+ Added disk functions
+
+}

+ 59 - 0
rtl/os2/disk.inc

@@ -0,0 +1,59 @@
+{
+    $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;
+
+begin
+end;
+
+
+Function DiskSize (Drive : Byte) : Longint;
+
+begin
+end;
+
+
+Function GetCurrentDir : String;
+
+begin
+end;
+
+
+Function SetCurrentDir (Const NewDir : String) : Boolean;
+
+begin
+end;
+
+
+Function CreateDir (Const NewDir : String) : Boolean;
+
+begin
+end;
+
+
+Function RemoveDir (Const Dir : String) : Boolean;
+
+begin
+end;
+
+
+
+{
+ $Log$
+ Revision 1.1  1998-10-11 13:42:55  michael
+ Added disk functions
+
+}

+ 59 - 0
rtl/win32/disk.inc

@@ -0,0 +1,59 @@
+{
+    $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;
+
+begin
+end;
+
+
+Function DiskSize (Drive : Byte) : Longint;
+
+begin
+end;
+
+
+Function GetCurrentDir : String;
+
+begin
+end;
+
+
+Function SetCurrentDir (Const NewDir : String) : Boolean;
+
+begin
+end;
+
+
+Function CreateDir (Const NewDir : String) : Boolean;
+
+begin
+end;
+
+
+Function RemoveDir (Const Dir : String) : Boolean;
+
+begin
+end;
+
+
+
+{
+ $Log$
+ Revision 1.1  1998-10-11 13:42:55  michael
+ Added disk functions
+
+}