Initial revision
[AROS-Contrib.git] / development / compilers / freepascal / rtl / go32v1 / filutil.inc
blobf4fff419ad886bbae4f715aca6e0e57afd145767
2     $Id$
3     This file is part of the Free Pascal run time library.
4     Copyright (c) 1999-2000 by the Free Pascal development team
6     File utility calls
8     See the file COPYING.FPC, included in this distribution,
9     for details about the copyright.
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  **********************************************************************}
18 Function FileOpen (Const FileName : string; Mode : Integer) : Longint;
20 Begin
21   //!! Needs implementing
22 end;
25 Function FileCreate (Const FileName : String) : Longint;
27 begin
28   //!! Needs implementing
29 end;
32 Function FileRead (Handle : Longint; Var Buffer; Count : longint) : Longint;
34 begin
35   //!! Needs implementing
36 end;
39 Function FileWrite (Handle : Longint; const Buffer; Count : Longint) : Longint;
41 begin
42   //!! Needs implementing
43 end;
46 Function FileSeek (Handle,FOffset,Origin : Longint) : Longint;
48 begin
49   //!! Needs implementing
50 end;
53 Procedure FileClose (Handle : Longint);
55 begin
56   //!! Needs implementing
57 end;
60 Function FileAge (Const FileName : String): Longint;
62 begin
63   //!! Needs implementing
64 end;
67 Function FileExists (Const FileName : String) : Boolean;
69 begin
70   //!! Needs implementing
71 end;
74 Function FindFirst (Const Path : String; Attr : Longint; Var Rslt : TSearchRec) : Longint;
76 begin
77   //!! Needs implementing
78 end;
81 Function FindNext (Var Rslt : TSearchRec) : Longint;
83 begin
84   //!! Needs implementing
85 end;
88 Procedure FindClose (Var F : TSearchrec);
90 begin
91   //!! Needs implementing
92 end;
95 Function FileTruncate (Handle,Size: Longint) : boolean;
96 begin
97   //!! Needs implementing
98 end;
101 Function FileGetDate (Handle : Longint) : Longint;
103 begin
104   //!! Needs implementing
105 end;
108 Function FileSetDate (Handle,Age : Longint) : Longint;
110 begin
111   //!! Needs implementing
112 end;
115 Function FileGetAttr (Const FileName : String) : Longint;
117 begin
118   //!! Needs implementing
119 end;
122 Function FileSetAttr (Const Filename : String; Attr: longint) : Longint;
124 begin
125   //!! Needs implementing
126 end;
129 Function DeleteFile (Const FileName : String) : Boolean;
131 begin
132   //!! Needs implementing
133 end;
136 Function RenameFile (Const OldName, NewName : String) : Boolean;
138 begin
139   //!! Needs implementing
140 end;
143 Function FileSearch (Const Name, DirList : String) : String;
145 begin
146   //!! Needs implementing
147 end;
150 Procedure GetLocalTime(var SystemTime: TSystemTime);
151 begin
152 end ;
155 { ---------------------------------------------------------------------
156     Internationalization settings
157   ---------------------------------------------------------------------}
159 procedure InitAnsi;
160 begin
161 end;
163 Procedure InitInternational;
164 begin
165 end;
169   $Log$
170   Revision 1.1  2002/02/19 08:25:03  sasu
171   Initial revision
173   Revision 1.1  2000/07/13 06:30:34  michael
174   + Initial import
176   Revision 1.5  2000/06/04 14:22:26  hajny
177     * FileSeek parameter name changed
179   Revision 1.4  2000/02/17 22:16:05  sg
180   * Changed the second argument of FileWrite from "var buffer" to
181     "const buffer", like in Delphi.
183   Revision 1.3  2000/01/07 16:41:30  daniel
184     * copyright 2000
186   Revision 1.2  1999/04/08 12:22:54  peter
187     * removed os.inc