1 MODULE PosixCstdio
['stdio
.h'
];
3 (* generated by genposix.sh, do not modify *)
5 IMPORT SYSTEM
, PosixCtypes
, PosixCsys_types
;
8 char
* = PosixCtypes
.char
;
9 signed_char
* = PosixCtypes
.signed_char
;
10 unsigned_char
* = PosixCtypes
.unsigned_char
;
11 short
* = PosixCtypes
.short
;
12 short_int
* = PosixCtypes
.short_int
;
13 signed_short
* = PosixCtypes
.signed_short
;
14 signed_short_int
* = PosixCtypes
.signed_short_int
;
15 unsigned_short
* = PosixCtypes
.unsigned_short
;
16 unsigned_short_int
* = PosixCtypes
.unsigned_short_int
;
17 int
* = PosixCtypes
.int
;
18 signed
* = PosixCtypes
.signed
;
19 signed_int
* = PosixCtypes
.signed_int
;
20 unsigned
* = PosixCtypes
.unsigned
;
21 unsigned_int
* = PosixCtypes
.unsigned_int
;
22 long
* = PosixCtypes
.long
;
23 long_int
* = PosixCtypes
.long_int
;
24 signed_long
* = PosixCtypes
.signed_long
;
25 signed_long_int
* = PosixCtypes
.signed_long_int
;
26 unsigned_long
* = PosixCtypes
.unsigned_long
;
27 unsigned_long_int
* = PosixCtypes
.unsigned_long_int
;
28 long_long
* = PosixCtypes
.long_long
;
29 long_long_int
* = PosixCtypes
.long_long_int
;
30 signed_long_long
* = PosixCtypes
.signed_long_long
;
31 signed_long_long_int
* = PosixCtypes
.signed_long_long_int
;
32 unsigned_long_long
* = PosixCtypes
.unsigned_long_long
;
33 unsigned_long_long_int
* = PosixCtypes
.unsigned_long_long_int
;
34 float
* = PosixCtypes
.float
;
35 double
* = PosixCtypes
.double
;
36 long_double
* = PosixCtypes
.long_double
;
39 PFILE
* = POINTER TO FILE
;
40 FILE
['FILE'
] = LIMITED
RECORD [untagged
] END;
43 fpos_t
* = RECORD [noalign
] _
: ARRAY [untagged
] 12 OF BYTE END;
46 off_t
* = PosixCsys_types
.off_t
;
47 ssize_t
* = PosixCsys_types
.ssize_t
;
78 PROCEDURE [ccall
] fclose
* (stream
: PFILE
): int
;
79 PROCEDURE [ccall
] ferror
* (stream
: PFILE
): int
;
80 PROCEDURE [ccall
] fflush
* (stream
: PFILE
): int
;
81 PROCEDURE [ccall
] fopen
* (IN pathname
, mode
: ARRAY [untagged
] OF SHORTCHAR
): PFILE
;
82 PROCEDURE [ccall
] fread
* (ptr
: PosixCtypes
.Pvoid
; size
, n
: size_t
; stream
: PFILE
): size_t
;
83 PROCEDURE [ccall
] fseek
* (stream
: PFILE
; offset
: long
; whence
: int
): int
;
84 PROCEDURE [ccall
] ftell
* (stream
: PFILE
): long
;
85 PROCEDURE [ccall
] fwrite
* (ptr
: PosixCtypes
.Pvoid
; size
, n
: size_t
; stream
: PFILE
): size_t
;
86 PROCEDURE [ccall
] feof
* (stream
: PFILE
): int
;
87 PROCEDURE [ccall
] remove
* (IN pathname
: ARRAY [untagged
] OF SHORTCHAR
): int
;
88 PROCEDURE [ccall
] rename
* (IN old
, new
: ARRAY [untagged
] OF SHORTCHAR
): int
;
89 PROCEDURE [ccall
] tmpfile
* (): PFILE
;