DEADSOFTWARE

cpmake: fix open source out of any subsystem
[cpc.git] / src / cpfront / linux / arm / Posix / Mod / Cdlfcn.cp
1 MODULE PosixCdlfcn ['dlfcn.h'];
3 (* generated by genposix.sh, do not modify *)
5 IMPORT SYSTEM, PosixCtypes;
7 TYPE
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;
38 CONST
39 RTLD_LAZY* = 1;
40 RTLD_NOW* = 2;
41 RTLD_GLOBAL* = 256;
42 RTLD_LOCAL* = 0;
44 PROCEDURE [ccall] dlclose* (handle: PosixCtypes.Pvoid): int;
45 PROCEDURE [ccall] dlerror* (): POINTER TO ARRAY [untagged] OF SHORTCHAR;
46 PROCEDURE [ccall] dlopen* (IN [nil] filename: ARRAY [untagged] OF SHORTCHAR; flags: int): PosixCtypes.Pvoid;
47 PROCEDURE [ccall] dlsym* (handle: PosixCtypes.Pvoid; IN symbol: ARRAY [untagged] OF SHORTCHAR): PosixCtypes.Pvoid;
49 END PosixCdlfcn.