sysfile.inc 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 file 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. Low level File Routines
  13. All these functions can set InOutRes on errors
  14. ****************************************************************************}
  15. { close a file from the handle value }
  16. procedure do_close(handle : longint);
  17. begin
  18. end;
  19. procedure do_erase(p : pchar; pchangeable: boolean);
  20. begin
  21. end;
  22. procedure do_rename(p1,p2 : pchar; p1changeable, p2changeable: boolean);
  23. begin
  24. end;
  25. function do_write(h: longint; addr: pointer; len: longint) : longint;
  26. begin
  27. result := -1;
  28. end;
  29. function do_read(h: longint; addr: pointer; len: longint) : longint;
  30. begin
  31. result := -1;
  32. end;
  33. function do_filepos(handle: longint) : longint;
  34. begin
  35. result := -1;
  36. end;
  37. procedure do_seek(handle, pos: longint);
  38. begin
  39. end;
  40. function do_seekend(handle: longint):longint;
  41. begin
  42. result := -1;
  43. end;
  44. function do_filesize(handle : longint) : longint;
  45. begin
  46. result := -1;
  47. end;
  48. procedure do_truncate(handle, pos: longint);
  49. begin
  50. end;
  51. procedure do_open(var f;p:PFileTextRecChar;flags:longint; pchangeable: boolean);
  52. begin
  53. end;
  54. function do_isdevice(handle: longint): boolean;
  55. begin
  56. result := false;
  57. end;