• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1header: unistd.h
2macros: []
3types:
4  - type_name: uid_t
5  - type_name: ssize_t
6  - type_name: size_t
7  - type_name: pid_t
8  - type_name: off_t
9  - type_name: __getoptargv_t
10  - type_name: __exec_envp_t
11  - type_name: __exec_argv_t
12enums: []
13objects:
14  - object_name: environ
15    object_type: char **
16  - object_name: optarg
17    object_type: char *
18  - object_name: optind
19    object_type: int
20  - object_name: opterr
21    object_type: int
22  - object_name: optopt
23    object_type: int
24functions:
25  - name: __llvm_libc_syscall
26    standards:
27      - POSIX
28    return_type: long
29    arguments:
30      - type: long
31      - type: long
32      - type: long
33      - type: long
34      - type: long
35      - type: long
36      - type: long
37  - name: _exit
38    standards:
39      - POSIX
40    return_type: _Noreturn void
41    arguments:
42      - type: int
43  - name: access
44    standards:
45      - POSIX
46    return_type: int
47    arguments:
48      - type: const char *
49      - type: int
50  - name: chdir
51    standards:
52      - POSIX
53    return_type: int
54    arguments:
55      - type: const char *
56  - name: close
57    standards:
58      - POSIX
59    return_type: int
60    arguments:
61      - type: int
62  - name: dup
63    standards:
64      - POSIX
65    return_type: int
66    arguments:
67      - type: int
68  - name: dup2
69    standards:
70      - POSIX
71    return_type: int
72    arguments:
73      - type: int
74      - type: int
75  - name: dup3
76    standards:
77      - POSIX
78    return_type: int
79    arguments:
80      - type: int
81      - type: int
82      - type: int
83  - name: execv
84    standards:
85      - POSIX
86    return_type: int
87    arguments:
88      - type: const char *
89      - type: __exec_argv_t
90  - name: execve
91    standards:
92      - POSIX
93    return_type: int
94    arguments:
95      - type: const char *
96      - type: __exec_argv_t
97      - type: __exec_envp_t
98  - name: fchdir
99    standards:
100      - POSIX
101    return_type: int
102    arguments:
103      - type: int
104  - name: fork
105    standards:
106      - POSIX
107    return_type: pid_t
108    arguments:
109      - type: void
110  - name: fsync
111    standards:
112      - POSIX
113    return_type: int
114    arguments:
115      - type: int
116  - name: ftruncate
117    standards:
118      - POSIX
119    return_type: int
120    arguments:
121      - type: int
122      - type: off_t
123  - name: getcwd
124    standards:
125      - POSIX
126    return_type: char *
127    arguments:
128      - type: char *
129      - type: size_t
130  - name: geteuid
131    standards:
132      - POSIX
133    return_type: uid_t
134    arguments:
135      - type: void
136  - name: getopt
137    standards:
138      - POSIX
139    return_type: int
140    arguments:
141      - type: int
142      - type: __getoptargv_t
143      - type: const char *
144  - name: getpid
145    standards:
146      - POSIX
147    return_type: int
148    arguments:
149      - type: void
150  - name: getppid
151    standards:
152      - POSIX
153    return_type: int
154    arguments:
155      - type: void
156  - name: gettid
157    standards:
158      - Linux
159    return_type: pid_t
160    arguments:
161      - type: void
162  - name: getuid
163    standards:
164      - POSIX
165    return_type: uid_t
166    arguments:
167      - type: void
168  - name: isatty
169    standards:
170      - POSIX
171    return_type: int
172    arguments:
173      - type: int
174    guard: null
175    attributes: []
176  - name: link
177    standards:
178      - POSIX
179    return_type: int
180    arguments:
181      - type: const char *
182      - type: const char *
183  - name: linkat
184    standards:
185      - POSIX
186    return_type: int
187    arguments:
188      - type: int
189      - type: const char *
190      - type: int
191      - type: const char *
192      - type: int
193  - name: lseek
194    standards:
195      - POSIX
196    return_type: off_t
197    arguments:
198      - type: int
199      - type: off_t
200      - type: int
201  - name: pipe
202    standards:
203      - POSIX
204    return_type: int
205    arguments:
206      - type: int *
207  - name: pipe2
208    standards:
209      - Linux
210    return_type: int
211    arguments:
212      - type: int *
213      - type: int
214  - name: pread
215    standards:
216      - POSIX
217    return_type: ssize_t
218    arguments:
219      - type: int
220      - type: void *
221      - type: size_t
222      - type: off_t
223  - name: pwrite
224    standards:
225      - POSIX
226    return_type: ssize_t
227    arguments:
228      - type: int
229      - type: const void *
230      - type: size_t
231      - type: off_t
232  - name: read
233    standards:
234      - POSIX
235    return_type: ssize_t
236    arguments:
237      - type: int
238      - type: void *
239      - type: size_t
240  - name: readlink
241    standards:
242      - POSIX
243    return_type: ssize_t
244    arguments:
245      - type: const char *__restrict
246      - type: char *__restrict
247      - type: size_t
248  - name: readlinkat
249    standards:
250      - POSIX
251    return_type: ssize_t
252    arguments:
253      - type: const char *__restrict
254      - type: char *__restrict
255      - type: size_t
256  - name: rmdir
257    standards:
258      - POSIX
259    return_type: int
260    arguments:
261      - type: const char *
262  - name: swab
263    standards:
264      - POSIX
265    return_type: void
266    arguments:
267      - type: const void *__restrict
268      - type: void *
269      - type: ssize_t
270  - name: symlink
271    standards:
272      - POSIX
273    return_type: int
274    arguments:
275      - type: const char *
276      - type: const char *
277  - name: symlinkat
278    standards:
279      - POSIX
280    return_type: int
281    arguments:
282      - type: int
283      - type: const char *
284      - type: int
285      - type: const char *
286  - name: sysconf
287    standards:
288      - POSIX
289    return_type: int
290    arguments:
291      - type: int
292  - name: truncate
293    standards:
294      - POSIX
295    return_type: int
296    arguments:
297      - type: const char *
298      - type: off_t
299  - name: unlink
300    standards:
301      - POSIX
302    return_type: int
303    arguments:
304      - type: const char *
305  - name: unlinkat
306    standards:
307      - POSIX
308    return_type: int
309    arguments:
310      - type: int
311      - type: const char *
312      - type: int
313  - name: write
314    standards:
315      - POSIX
316    return_type: ssize_t
317    arguments:
318      - type: int
319      - type: const void *
320      - type: size_t
321    guard: null
322    attributes: []
323