2
0

sysdir.inc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2006 by Free Pascal development team
  4. Low level directory functions
  5. GBA does not have any drive, so no directory handling is needed.
  6. Copyright (c) 2006 by Francesco Lombardi
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. {*****************************************************************************
  14. Directory Handling
  15. *****************************************************************************}
  16. {$if defined(FPC_HAS_FEATURE_ANSISTRINGS)}
  17. procedure do_mkdir(const s: rawbytestring);
  18. begin
  19. InOutRes:=3;
  20. end;
  21. procedure do_rmdir(const s: rawbytestring);
  22. begin
  23. InOutRes:=3;
  24. end;
  25. procedure do_chdir(const s: rawbytestring);
  26. begin
  27. InOutRes:=3;
  28. end;
  29. procedure do_GetDir (DriveNr: byte; var Dir: RawByteString);
  30. begin
  31. InOutRes:=3;
  32. end;
  33. {$else FPC_HAS_FEATURE_ANSISTRINGS}
  34. procedure mkdir(const s: shortstring);
  35. begin
  36. InOutRes:=3;
  37. end;
  38. procedure rmdir(const s: shortstring);
  39. begin
  40. InOutRes:=3;
  41. end;
  42. procedure chdir(const s: shortstring);
  43. begin
  44. InOutRes:=3;
  45. end;
  46. procedure GetDir (DriveNr: byte; var Dir: ShortString);
  47. begin
  48. InOutRes:=3;
  49. end;
  50. {$endif FPC_HAS_FEATURE_ANSISTRINGS}