filutil.inc 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1998 by the Free Pascal development team
  5. File utility calls
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. Function FileOpen (Const FileName : string; Mode : Integer) : Longint;
  13. Begin
  14. //!! Needs implementing
  15. end;
  16. Function FileCreate (Const FileName : String) : Longint;
  17. begin
  18. //!! Needs implementing
  19. end;
  20. Function FileRead (Handle : Longint; Var Buffer; Count : longint) : Longint;
  21. begin
  22. //!! Needs implementing
  23. end;
  24. Function FileWrite (Handle : Longint; Var Buffer; Count : Longint) : Longint;
  25. begin
  26. //!! Needs implementing
  27. end;
  28. Function FileSeek (Handle,Offset,Origin : Longint) : Longint;
  29. begin
  30. //!! Needs implementing
  31. end;
  32. Procedure FileClose (Handle : Longint);
  33. begin
  34. //!! Needs implementing
  35. end;
  36. Function FileAge (Const FileName : String): Longint;
  37. begin
  38. //!! Needs implementing
  39. end;
  40. Function FileExists (Const FileName : String) : Boolean;
  41. begin
  42. //!! Needs implementing
  43. end;
  44. Function FindFirst (Const Path : String; Attr : Longint; Var Rslt : TSearchRec) : Longint;
  45. begin
  46. //!! Needs implementing
  47. end;
  48. Function FindNext (Var Rslt : TSearchRec) : Longint;
  49. begin
  50. //!! Needs implementing
  51. end;
  52. Procedure FindClose (Var F : TSearchrec);
  53. begin
  54. //!! Needs implementing
  55. end;
  56. Function FileGetDate (Handle : Longint) : Longint;
  57. begin
  58. //!! Needs implementing
  59. end;
  60. Function FileSetDate (Handle,Age : Longint) : Longint;
  61. begin
  62. //!! Needs implementing
  63. end;
  64. Function FileGetAttr (Const FileName : String) : Longint;
  65. begin
  66. //!! Needs implementing
  67. end;
  68. Function FileSetAttr (Const Filename : String; Attr: longint) : Longint;
  69. begin
  70. //!! Needs implementing
  71. end;
  72. Function DeleteFile (Const FileName : String) : Boolean;
  73. begin
  74. //!! Needs implementing
  75. end;
  76. Function RenameFile (Const OldName, NewName : String) : Boolean;
  77. begin
  78. //!! Needs implementing
  79. end;
  80. Function FileSearch (Const Name, DirList : String) : String;
  81. begin
  82. //!! Needs implementing
  83. end;
  84. {
  85. $Log$
  86. Revision 1.2 1998-10-12 08:35:22 pierre
  87. * wrong file commited by Michael corrected
  88. Revision 1.1 1998/10/11 12:21:01 michael
  89. Added file calls. Implemented for linux only
  90. }