summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/capi_linux_arm64.go
blob: 960ead92cd86285ea83f5cb7e4b2ffdf30197e08 (plain) (blame)
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
// Code generated by 'go generate' - DO NOT EDIT.

package libc // import "modernc.org/libc"

var CAPI = map[string]struct{}{
	"_IO_putc":                         {},
	"___errno_location":                {},
	"__assert_fail":                    {},
	"__builtin___memcpy_chk":           {},
	"__builtin___memmove_chk":          {},
	"__builtin___memset_chk":           {},
	"__builtin___snprintf_chk":         {},
	"__builtin___sprintf_chk":          {},
	"__builtin___strcat_chk":           {},
	"__builtin___strcpy_chk":           {},
	"__builtin___strncpy_chk":          {},
	"__builtin___vsnprintf_chk":        {},
	"__builtin_abort":                  {},
	"__builtin_abs":                    {},
	"__builtin_add_overflowInt64":      {},
	"__builtin_add_overflowUint32":     {},
	"__builtin_add_overflowUint64":     {},
	"__builtin_bswap16":                {},
	"__builtin_bswap32":                {},
	"__builtin_bswap64":                {},
	"__builtin_bzero":                  {},
	"__builtin_clz":                    {},
	"__builtin_clzl":                   {},
	"__builtin_clzll":                  {},
	"__builtin_constant_p_impl":        {},
	"__builtin_copysign":               {},
	"__builtin_copysignf":              {},
	"__builtin_copysignl":              {},
	"__builtin_exit":                   {},
	"__builtin_expect":                 {},
	"__builtin_fabs":                   {},
	"__builtin_free":                   {},
	"__builtin_getentropy":             {},
	"__builtin_huge_val":               {},
	"__builtin_huge_valf":              {},
	"__builtin_inf":                    {},
	"__builtin_inff":                   {},
	"__builtin_infl":                   {},
	"__builtin_isnan":                  {},
	"__builtin_malloc":                 {},
	"__builtin_memcmp":                 {},
	"__builtin_memcpy":                 {},
	"__builtin_memset":                 {},
	"__builtin_mmap":                   {},
	"__builtin_mul_overflowInt64":      {},
	"__builtin_mul_overflowUint128":    {},
	"__builtin_mul_overflowUint64":     {},
	"__builtin_nan":                    {},
	"__builtin_nanf":                   {},
	"__builtin_nanl":                   {},
	"__builtin_object_size":            {},
	"__builtin_popcount":               {},
	"__builtin_popcountl":              {},
	"__builtin_prefetch":               {},
	"__builtin_printf":                 {},
	"__builtin_snprintf":               {},
	"__builtin_sprintf":                {},
	"__builtin_strchr":                 {},
	"__builtin_strcmp":                 {},
	"__builtin_strcpy":                 {},
	"__builtin_strlen":                 {},
	"__builtin_sub_overflowInt64":      {},
	"__builtin_trap":                   {},
	"__builtin_unreachable":            {},
	"__ccgo_dmesg":                     {},
	"__ccgo_getMutexType":              {},
	"__ccgo_in6addr_anyp":              {},
	"__ccgo_pthreadAttrGetDetachState": {},
	"__ccgo_pthreadMutexattrGettype":   {},
	"__ccgo_sqlite3_log":               {},
	"__cmsg_nxthdr":                    {},
	"__ctype_b_loc":                    {},
	"__ctype_get_mb_cur_max":           {},
	"__errno_location":                 {},
	"__floatscan":                      {},
	"__fpclassify":                     {},
	"__fpclassifyf":                    {},
	"__fpclassifyl":                    {},
	"__fsmu8":                          {},
	"__h_errno_location":               {},
	"__inet_aton":                      {},
	"__intscan":                        {},
	"__isalnum_l":                      {},
	"__isalpha_l":                      {},
	"__isdigit_l":                      {},
	"__islower_l":                      {},
	"__isnan":                          {},
	"__isnanf":                         {},
	"__isnanl":                         {},
	"__isoc99_sscanf":                  {},
	"__isprint_l":                      {},
	"__isupper_l":                      {},
	"__isxdigit_l":                     {},
	"__lockfile":                       {},
	"__lookup_ipliteral":               {},
	"__lookup_name":                    {},
	"__lookup_serv":                    {},
	"__shgetc":                         {},
	"__shlim":                          {},
	"__strncasecmp_l":                  {},
	"__sync_add_and_fetch_uint32":      {},
	"__sync_sub_and_fetch_uint32":      {},
	"__syscall1":                       {},
	"__syscall3":                       {},
	"__syscall4":                       {},
	"__toread":                         {},
	"__toread_needs_stdio_exit":        {},
	"__uflow":                          {},
	"__unlockfile":                     {},
	"_exit":                            {},
	"_longjmp":                         {},
	"_obstack_begin":                   {},
	"_obstack_newchunk":                {},
	"_setjmp":                          {},
	"abort":                            {},
	"abs":                              {},
	"accept":                           {},
	"access":                           {},
	"acos":                             {},
	"acosh":                            {},
	"alarm":                            {},
	"asin":                             {},
	"asinh":                            {},
	"atan":                             {},
	"atan2":                            {},
	"atanh":                            {},
	"atexit":                           {},
	"atof":                             {},
	"atoi":                             {},
	"atol":                             {},
	"backtrace":                        {},
	"backtrace_symbols_fd":             {},
	"bind":                             {},
	"bzero":                            {},
	"calloc":                           {},
	"ceil":                             {},
	"ceilf":                            {},
	"cfgetospeed":                      {},
	"cfsetispeed":                      {},
	"cfsetospeed":                      {},
	"chdir":                            {},
	"chmod":                            {},
	"chown":                            {},
	"clock_gettime":                    {},
	"close":                            {},
	"closedir":                         {},
	"confstr":                          {},
	"connect":                          {},
	"copysign":                         {},
	"copysignf":                        {},
	"copysignl":                        {},
	"cos":                              {},
	"cosf":                             {},
	"cosh":                             {},
	"ctime":                            {},
	"ctime_r":                          {},
	"dlclose":                          {},
	"dlerror":                          {},
	"dlopen":                           {},
	"dlsym":                            {},
	"dup2":                             {},
	"endpwent":                         {},
	"environ":                          {},
	"execvp":                           {},
	"exit":                             {},
	"exp":                              {},
	"fabs":                             {},
	"fabsf":                            {},
	"fabsl":                            {},
	"fchmod":                           {},
	"fchown":                           {},
	"fclose":                           {},
	"fcntl":                            {},
	"fcntl64":                          {},
	"fdopen":                           {},
	"ferror":                           {},
	"fflush":                           {},
	"fgetc":                            {},
	"fgets":                            {},
	"fileno":                           {},
	"floor":                            {},
	"fmod":                             {},
	"fmodl":                            {},
	"fopen":                            {},
	"fopen64":                          {},
	"fork":                             {},
	"fprintf":                          {},
	"fputc":                            {},
	"fputs":                            {},
	"fread":                            {},
	"free":                             {},
	"freeaddrinfo":                     {},
	"frexp":                            {},
	"fscanf":                           {},
	"fseek":                            {},
	"fstat":                            {},
	"fstat64":                          {},
	"fstatfs":                          {},
	"fsync":                            {},
	"ftell":                            {},
	"ftruncate":                        {},
	"ftruncate64":                      {},
	"fts64_close":                      {},
	"fts64_open":                       {},
	"fts64_read":                       {},
	"fts_close":                        {},
	"fts_open":                         {},
	"fts_read":                         {},
	"fwrite":                           {},
	"gai_strerror":                     {},
	"getaddrinfo":                      {},
	"getc":                             {},
	"getcwd":                           {},
	"getegid":                          {},
	"getentropy":                       {},
	"getenv":                           {},
	"geteuid":                          {},
	"getgid":                           {},
	"getgrgid":                         {},
	"getgrgid_r":                       {},
	"getgrnam":                         {},
	"getgrnam_r":                       {},
	"gethostbyaddr":                    {},
	"gethostbyaddr_r":                  {},
	"gethostbyname":                    {},
	"gethostbyname2":                   {},
	"gethostbyname2_r":                 {},
	"gethostbyname_r":                  {},
	"gethostname":                      {},
	"getnameinfo":                      {},
	"getpeername":                      {},
	"getpid":                           {},
	"getpwnam":                         {},
	"getpwnam_r":                       {},
	"getpwuid":                         {},
	"getpwuid_r":                       {},
	"getrandom":                        {},
	"getresgid":                        {},
	"getresuid":                        {},
	"getrlimit":                        {},
	"getrlimit64":                      {},
	"getrusage":                        {},
	"getservbyname":                    {},
	"getsockname":                      {},
	"getsockopt":                       {},
	"gettimeofday":                     {},
	"getuid":                           {},
	"gmtime_r":                         {},
	"h_errno":                          {},
	"htonl":                            {},
	"htons":                            {},
	"hypot":                            {},
	"inet_ntoa":                        {},
	"inet_ntop":                        {},
	"inet_pton":                        {},
	"initstate_r":                      {},
	"ioctl":                            {},
	"isalnum":                          {},
	"isalpha":                          {},
	"isascii":                          {},
	"isatty":                           {},
	"isdigit":                          {},
	"islower":                          {},
	"isnan":                            {},
	"isnanf":                           {},
	"isnanl":                           {},
	"isprint":                          {},
	"isupper":                          {},
	"isxdigit":                         {},
	"kill":                             {},
	"ldexp":                            {},
	"link":                             {},
	"listen":                           {},
	"localeconv":                       {},
	"localtime":                        {},
	"localtime_r":                      {},
	"log":                              {},
	"log10":                            {},
	"longjmp":                          {},
	"lrand48":                          {},
	"lseek":                            {},
	"lseek64":                          {},
	"lstat":                            {},
	"lstat64":                          {},
	"malloc":                           {},
	"mblen":                            {},
	"mbrtowc":                          {},
	"mbsinit":                          {},
	"mbstowcs":                         {},
	"mbtowc":                           {},
	"memchr":                           {},
	"memcmp":                           {},
	"memcpy":                           {},
	"memmove":                          {},
	"memset":                           {},
	"mkdir":                            {},
	"mkfifo":                           {},
	"mknod":                            {},
	"mkostemp":                         {},
	"mkstemp":                          {},
	"mkstemp64":                        {},
	"mkstemps":                         {},
	"mkstemps64":                       {},
	"mktime":                           {},
	"mmap":                             {},
	"mmap64":                           {},
	"modf":                             {},
	"mremap":                           {},
	"munmap":                           {},
	"nanf":                             {},
	"nl_langinfo":                      {},
	"ntohs":                            {},
	"obstack_free":                     {},
	"obstack_vprintf":                  {},
	"open":                             {},
	"open64":                           {},
	"opendir":                          {},
	"openpty":                          {},
	"pathconf":                         {},
	"pause":                            {},
	"pclose":                           {},
	"perror":                           {},
	"pipe":                             {},
	"poll":                             {},
	"popen":                            {},
	"posix_fadvise":                    {},
	"pow":                              {},
	"printf":                           {},
	"pselect":                          {},
	"pthread_attr_destroy":             {},
	"pthread_attr_getdetachstate":      {},
	"pthread_attr_init":                {},
	"pthread_attr_setdetachstate":      {},
	"pthread_attr_setscope":            {},
	"pthread_attr_setstacksize":        {},
	"pthread_cond_broadcast":           {},
	"pthread_cond_destroy":             {},
	"pthread_cond_init":                {},
	"pthread_cond_signal":              {},
	"pthread_cond_timedwait":           {},
	"pthread_cond_wait":                {},
	"pthread_create":                   {},
	"pthread_detach":                   {},
	"pthread_equal":                    {},
	"pthread_exit":                     {},
	"pthread_getspecific":              {},
	"pthread_join":                     {},
	"pthread_key_create":               {},
	"pthread_key_delete":               {},
	"pthread_mutex_destroy":            {},
	"pthread_mutex_init":               {},
	"pthread_mutex_lock":               {},
	"pthread_mutex_trylock":            {},
	"pthread_mutex_unlock":             {},
	"pthread_mutexattr_destroy":        {},
	"pthread_mutexattr_init":           {},
	"pthread_mutexattr_settype":        {},
	"pthread_self":                     {},
	"pthread_setspecific":              {},
	"putc":                             {},
	"putchar":                          {},
	"puts":                             {},
	"pwrite":                           {},
	"qsort":                            {},
	"raise":                            {},
	"rand":                             {},
	"rand_r":                           {},
	"random":                           {},
	"random_r":                         {},
	"read":                             {},
	"readdir":                          {},
	"readdir64":                        {},
	"readlink":                         {},
	"readv":                            {},
	"realloc":                          {},
	"reallocarray":                     {},
	"realpath":                         {},
	"recv":                             {},
	"recvfrom":                         {},
	"recvmsg":                          {},
	"remove":                           {},
	"rename":                           {},
	"rewind":                           {},
	"rindex":                           {},
	"rint":                             {},
	"rmdir":                            {},
	"round":                            {},
	"scalbn":                           {},
	"scalbnl":                          {},
	"sched_yield":                      {},
	"select":                           {},
	"send":                             {},
	"sendmsg":                          {},
	"sendto":                           {},
	"setbuf":                           {},
	"setenv":                           {},
	"setjmp":                           {},
	"setlocale":                        {},
	"setrlimit":                        {},
	"setrlimit64":                      {},
	"setsid":                           {},
	"setsockopt":                       {},
	"setvbuf":                          {},
	"shmat":                            {},
	"shmctl":                           {},
	"shmdt":                            {},
	"shutdown":                         {},
	"sigaction":                        {},
	"signal":                           {},
	"sin":                              {},
	"sinf":                             {},
	"sinh":                             {},
	"sleep":                            {},
	"snprintf":                         {},
	"socket":                           {},
	"sprintf":                          {},
	"sqrt":                             {},
	"srand48":                          {},
	"sscanf":                           {},
	"stat":                             {},
	"stat64":                           {},
	"stderr":                           {},
	"stdin":                            {},
	"stdout":                           {},
	"strcasecmp":                       {},
	"strcat":                           {},
	"strchr":                           {},
	"strcmp":                           {},
	"strcpy":                           {},
	"strcspn":                          {},
	"strdup":                           {},
	"strerror":                         {},
	"strerror_r":                       {},
	"strlcat":                          {},
	"strlcpy":                          {},
	"strlen":                           {},
	"strncasecmp":                      {},
	"strncat":                          {},
	"strncmp":                          {},
	"strncpy":                          {},
	"strnlen":                          {},
	"strpbrk":                          {},
	"strrchr":                          {},
	"strspn":                           {},
	"strstr":                           {},
	"strtod":                           {},
	"strtof":                           {},
	"strtoimax":                        {},
	"strtok":                           {},
	"strtol":                           {},
	"strtold":                          {},
	"strtoll":                          {},
	"strtoul":                          {},
	"strtoull":                         {},
	"strtoumax":                        {},
	"symlink":                          {},
	"sysconf":                          {},
	"system":                           {},
	"tan":                              {},
	"tanh":                             {},
	"tcgetattr":                        {},
	"tcsendbreak":                      {},
	"tcsetattr":                        {},
	"time":                             {},
	"tmpfile":                          {},
	"tolower":                          {},
	"toupper":                          {},
	"trunc":                            {},
	"tzset":                            {},
	"umask":                            {},
	"uname":                            {},
	"ungetc":                           {},
	"unlink":                           {},
	"unsetenv":                         {},
	"usleep":                           {},
	"utime":                            {},
	"utimes":                           {},
	"uuid_copy":                        {},
	"uuid_generate_random":             {},
	"uuid_parse":                       {},
	"uuid_unparse":                     {},
	"vasprintf":                        {},
	"vfprintf":                         {},
	"vfscanf":                          {},
	"vprintf":                          {},
	"vsnprintf":                        {},
	"vsprintf":                         {},
	"vsscanf":                          {},
	"waitpid":                          {},
	"wcschr":                           {},
	"wctomb":                           {},
	"wcwidth":                          {},
	"write":                            {},
	"writev":                           {},
	"zero_struct_address":              {},
}