blob: bf17a1111105068d0521cc639989ebdbcadbbc07 (
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
header: dlfcn.h
standards:
- posix
macros:
# Note that macro values are quoted to keep the integer literals as
# written. Without the quotes, YAML will normalize them to minimal
# decimal, which is less readable for humans seeing the generated header.
- macro_name: RTLD_LAZY
macro_value: "0x00001"
- macro_name: RTLD_NOW
macro_value: "0x00002"
- macro_name: RTLD_GLOBAL
macro_value: "0x00100"
- macro_name: RTLD_LOCAL
macro_value: "0"
- macro_name: RTLD_BINDING_MASK
standards:
- gnu
macro_value: "0x00003"
- macro_name: RTLD_NOLOAD
standards:
- gnu
macro_value: "0x00004"
- macro_name: RTLD_DEEPBIND
standards:
- gnu
macro_value: "0x00008"
- macro_name: RTLD_NODELETE
standards:
- gnu
macro_value: "0x01000"
- macro_name: RTLD_NEXT
standards:
- gnu
macro_value: "((void *) -1l)"
- macro_name: RTLD_DEFAULT
standards:
- gnu
macro_value: "((void *) 0)"
enums:
- name: RTLD_DI_LMID
standards:
- gnu
value: 1
- name: RTLD_DI_LINKMAP
standards:
- gnu
value: 2
- name: RTLD_DI_CONFIGADDR
standards:
- gnu
value: 3
- name: RTLD_DI_SERINFO
standards:
- gnu
value: 4
- name: RTLD_DI_SERINFOSIZE
standards:
- gnu
value: 5
- name: RTLD_DI_ORIGIN
standards:
- gnu
value: 6
- name: RTLD_DI_PROFILENAME
standards:
- gnu
value: 7
- name: RTLD_DI_PROFILEOUT
standards:
- gnu
value: 8
- name: RTLD_DI_TLS_MODID
standards:
- gnu
value: 9
- name: RTLD_DI_TLS_DATA
standards:
- gnu
value: 10
- name: RTLD_DI_PHDR
standards:
- gnu
value: 11
- name: RTLD_DI_MAX
standards:
- gnu
value: 11
types:
- type_name: Dl_info
functions:
- name: dlclose
standards:
- POSIX
return_type: int
arguments:
- type: void *
- name: dlerror
standards:
- POSIX
return_type: char *
arguments: []
- name: dlopen
standards:
- POSIX
return_type: void *
arguments:
- type: const char *
- type: int
- name: dlsym
standards:
- POSIX
return_type: void *
arguments:
- type: void *__restrict
- type: const char *__restrict
- name: dlinfo
standards:
- gnu
return_type: int
arguments:
- type: void *__restrict
- type: int
- type: void *__restrict
- name: dladdr
standards:
- POSIX
return_type: int
arguments:
- type: const void *__restrict
- type: Dl_info *__restrict
|