diskh.inc 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 1999-2000 by the Free Pascal development team
  4. Disk functions from Delphi's sysutils.pas
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. Function DiskFree(drive: byte) : int64;
  12. Function DiskSize(drive: byte) : int64;
  13. Function GetCurrentDir : String;
  14. Function SetCurrentDir (Const NewDir : String) : Boolean;
  15. Function CreateDir (Const NewDir : String) : Boolean;
  16. Function RemoveDir (Const Dir : String) : Boolean;
  17. Function ForceDirectories(Const Dir: string): Boolean;
  18. {
  19. $Log: diskh.inc,v $
  20. Revision 1.3 2005/02/14 17:13:31 peter
  21. * truncate log
  22. Revision 1.2 2005/01/14 12:59:25 michael
  23. + Implemented ForceDirectories for Delphi compatibility
  24. }