sysdir.inc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2017 by Free Pascal development team
  4. Low level directory functions
  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. {*****************************************************************************
  12. Directory Handling
  13. *****************************************************************************}
  14. {$if defined(FPC_HAS_FEATURE_ANSISTRINGS)}
  15. procedure do_mkdir(const s: rawbytestring);
  16. begin
  17. InOutRes:=3;
  18. end;
  19. procedure do_rmdir(const s: rawbytestring);
  20. begin
  21. InOutRes:=3;
  22. end;
  23. procedure do_chdir(const s: rawbytestring);
  24. begin
  25. InOutRes:=3;
  26. end;
  27. procedure do_GetDir (DriveNr: byte; var Dir: RawByteString);
  28. begin
  29. InOutRes:=3;
  30. end;
  31. {$else FPC_HAS_FEATURE_ANSISTRINGS}
  32. procedure mkdir(const s: shortstring);
  33. begin
  34. InOutRes:=3;
  35. end;
  36. procedure rmdir(const s: shortstring);
  37. begin
  38. InOutRes:=3;
  39. end;
  40. procedure chdir(const s: shortstring);
  41. begin
  42. InOutRes:=3;
  43. end;
  44. procedure GetDir (DriveNr: byte; var Dir: ShortString);
  45. begin
  46. InOutRes:=3;
  47. end;
  48. {$endif FPC_HAS_FEATURE_ANSISTRINGS}