45cc61e6d783cfe425fc4cdcca730669601f6c45
1 CONST
2 (* Ubuntu 18.04 /usr/include/i386-linux-gnu/bits/stat.h *)
3 _STAT_VER_LINUX* = 3;
5 TYPE
6 (* Ubuntu 17.10 /usr/include/i386-linux-gnu/bits/types/sigval_t.h: *)
7 sigval_t* = RECORD [union]
8 sival_int*: int;
9 sival_ptr*: PtrVoid
10 END;
12 (* Ubuntu 17.10 /usr/include/i386-linux-gnu/sys/ucontext.h: *)
13 greg_t* = int;
14 gregset_t* = ARRAY [untagged] 19 OF greg_t;
15 fpregset_t* = POINTER [untagged] TO fpstate;
16 fpreg* = RECORD [untagged]
17 significand*: ARRAY [untagged] 4 OF SHORTINT; (* unsigned short int *)
18 exponent*: SHORTINT; (* unsigned short int *)
19 END;
20 fpstate* = RECORD [untagged]
21 cw*: INTEGER; (* unsigned long int *)
22 sw*: INTEGER; (* unsigned long int *)
23 tag*: INTEGER; (* unsigned long int *)
24 ipoff*: INTEGER; (* unsigned long int *)
25 cssel*: INTEGER; (* unsigned long int *)
26 dataoff*: INTEGER; (* unsigned long int *)
27 datasel*: INTEGER; (* unsigned long int *)
28 _st: ARRAY [untagged] 8 OF fpreg;
29 status*: INTEGER; (* unsigned long int *)
30 END;
32 VAR
33 timezone*: INTEGER; (* seconds from GMT *)
34 (*
35 stdin*, stdout*, stderr* : PtrFILE;
36 *)
38 PROCEDURE [ccall] __errno_location*(): INTEGER;
40 PROCEDURE [ccall] __xstat* (version: INTEGER; filename: PtrSTR; VAR buf: stat_t): INTEGER;
42 PROCEDURE [ccall] sigsetjmp* ["__sigsetjmp"] (VAR env: sigjmp_buf; savemask: int): int;