sysfile.inc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2007 by contributors of the Free Pascal Compiler
  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. *****************************************************************************}
  14. function do_isdevice(handle:thandle):boolean;
  15. begin
  16. //do_isdevice:=(handle = StdInputHandle) or (handle = StdOutputHandle) or (handle = StdErrorHandle);
  17. end;
  18. procedure do_close(h : thandle);
  19. begin
  20. if do_isdevice(h) then exit;
  21. // CloseHandle(h);
  22. end;
  23. procedure do_erase(p : pchar; pchangeable: boolean);
  24. begin
  25. end;
  26. procedure do_rename(p1,p2 : pchar; p1changeable, p2changeable: boolean);
  27. begin
  28. end;
  29. function do_write(h:thandle;addr:pointer;len : longint) : longint;
  30. begin
  31. end;
  32. function do_read(h:thandle;addr:pointer;len : longint) : longint;
  33. begin
  34. end;
  35. function do_filepos(handle : thandle) : Int64;
  36. begin
  37. end;
  38. procedure do_seek(handle:thandle;pos : Int64);
  39. begin
  40. end;
  41. function do_seekend(handle:thandle):Int64;
  42. begin
  43. end;
  44. function do_filesize(handle : thandle) : Int64;
  45. begin
  46. end;
  47. procedure do_truncate (handle:thandle;pos:Int64);
  48. begin
  49. end;
  50. procedure do_open(var f;p:pchar;flags:longint; pchangeable: boolean);
  51. begin
  52. end;