summaryrefslogtreecommitdiff
path: root/fpcsrc/rtl/symbian/sysfile.inc
blob: 61c3ac3327fb3c6ba3fa7d05a1805434ac68dc97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
    This file is part of the Free Pascal run time library.
    Copyright (c) 2007 by contributors of the Free Pascal Compiler

    Low level file functions

    See the file COPYING.FPC, included in this distribution,
    for details about the copyright.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 **********************************************************************}

{*****************************************************************************
                          Low Level File Routines
*****************************************************************************}

function do_isdevice(handle:thandle):boolean;
begin
  //do_isdevice:=(handle = StdInputHandle) or (handle = StdOutputHandle) or (handle = StdErrorHandle);
end;


procedure do_close(h : thandle);
begin
  if do_isdevice(h) then exit;
  
//  CloseHandle(h);
end;


procedure do_erase(p : pchar);
begin

end;


procedure do_rename(p1,p2 : pchar);
begin

end;


function do_write(h:thandle;addr:pointer;len : longint) : longint;
begin

end;


function do_read(h:thandle;addr:pointer;len : longint) : longint;
begin

end;


function do_filepos(handle : thandle) : Int64;
begin

end;


procedure do_seek(handle:thandle;pos : Int64);
begin

end;


function do_seekend(handle:thandle):Int64;
begin

end;


function do_filesize(handle : thandle) : Int64;
begin

end;


procedure do_truncate (handle:thandle;pos:Int64);
begin

end;


procedure do_open(var f;p:pchar;flags:longint);
begin

end;