diskh.inc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. Function DiskFree(drive: byte) : int64;
  13. Function DiskSize(drive: byte) : int64;
  14. Function GetCurrentDir : String;
  15. Function SetCurrentDir (Const NewDir : String) : Boolean;
  16. Function CreateDir (Const NewDir : String) : Boolean;
  17. Function RemoveDir (Const Dir : String) : Boolean;
  18. Function ForceDirectories(Const Dir: string): Boolean;
  19. {
  20. $Log$
  21. Revision 1.2 2005-01-14 12:59:25 michael
  22. + Implemented ForceDirectories for Delphi compatibility
  23. Revision 1.1 2003/10/06 21:01:06 peter
  24. * moved classes unit to rtl
  25. Revision 1.5 2002/09/07 16:01:22 peter
  26. * old logs removed and tabs fixed
  27. }