3 This file is part of the Free Pascal run time library.
4 Copyright (c) 1999-2000 by the Free Pascal development team
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;
21 //!! Needs implementing
25 Function FileCreate (Const FileName : String) : Longint;
28 //!! Needs implementing
32 Function FileRead (Handle : Longint; Var Buffer; Count : longint) : Longint;
35 //!! Needs implementing
39 Function FileWrite (Handle : Longint; const Buffer; Count : Longint) : Longint;
42 //!! Needs implementing
46 Function FileSeek (Handle,FOffset,Origin : Longint) : Longint;
49 //!! Needs implementing
53 Procedure FileClose (Handle : Longint);
56 //!! Needs implementing
60 Function FileAge (Const FileName : String): Longint;
63 //!! Needs implementing
67 Function FileExists (Const FileName : String) : Boolean;
70 //!! Needs implementing
74 Function FindFirst (Const Path : String; Attr : Longint; Var Rslt : TSearchRec) : Longint;
77 //!! Needs implementing
81 Function FindNext (Var Rslt : TSearchRec) : Longint;
84 //!! Needs implementing
88 Procedure FindClose (Var F : TSearchrec);
91 //!! Needs implementing
95 Function FileTruncate (Handle,Size: Longint) : boolean;
97 //!! Needs implementing
101 Function FileGetDate (Handle : Longint) : Longint;
104 //!! Needs implementing
108 Function FileSetDate (Handle,Age : Longint) : Longint;
111 //!! Needs implementing
115 Function FileGetAttr (Const FileName : String) : Longint;
118 //!! Needs implementing
122 Function FileSetAttr (Const Filename : String; Attr: longint) : Longint;
125 //!! Needs implementing
129 Function DeleteFile (Const FileName : String) : Boolean;
132 //!! Needs implementing
136 Function RenameFile (Const OldName, NewName : String) : Boolean;
139 //!! Needs implementing
143 Function FileSearch (Const Name, DirList : String) : String;
146 //!! Needs implementing
150 Procedure GetLocalTime(var SystemTime: TSystemTime);
155 { ---------------------------------------------------------------------
156 Internationalization settings
157 ---------------------------------------------------------------------}
163 Procedure InitInternational;
170 Revision 1.1 2002/02/19 08:25:03 sasu
173 Revision 1.1 2000/07/13 06:30:34 michael
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
186 Revision 1.2 1999/04/08 12:22:54 peter