diskh.inc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999-2000 by the Free Pascal development team
  5. Disk functions from Delphi's sysutils.pas
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {$ifdef Int64}
  13. Function DiskFree(drive: byte) : int64;
  14. Function DiskSize(drive: byte) : int64;
  15. {$else}
  16. Function DiskFree(drive: byte) : longint;
  17. Function DiskSize(drive: byte) : longint;
  18. {$endif}
  19. Function GetCurrentDir : String;
  20. Function SetCurrentDir (Const NewDir : String) : Boolean;
  21. Function CreateDir (Const NewDir : String) : Boolean;
  22. Function RemoveDir (Const Dir : String) : Boolean;
  23. {
  24. $Log$
  25. Revision 1.5 2000-05-15 19:28:41 peter
  26. * int64 support for diskfree,disksize
  27. Revision 1.4 2000/02/09 16:59:32 peter
  28. * truncated log
  29. Revision 1.3 2000/01/07 16:41:43 daniel
  30. * copyright 2000
  31. Revision 1.2 1999/11/06 14:41:30 peter
  32. * truncated log
  33. }