40 changes: 20 additions & 20 deletions libc/newhdrgen/yaml/fenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,101 +7,101 @@ enums: []
objects: []
functions:
- name: feclearexcept
standards:
standards:
- stdc
return_type: int
arguments:
- type: int
- name: fetestexcept
standards:
standards:
- stdc
return_type: int
arguments:
- type: int
- name: fetestexceptflag
standards:
standards:
- stdc
return_type: int
arguments:
- type: const fexcept_t *
- type: int
- name: feraiseexcept
standards:
standards:
- stdc
return_type: int
arguments:
- type: int
- name: fesetround
standards:
standards:
- stdc
return_type: int
arguments:
- type: int
- name: fegetround
standards:
standards:
- stdc
return_type: int
arguments: []
- name: fegetenv
standards:
standards:
- stdc
return_type: int
arguments:
- type: fenv_t *
- name: fesetenv
standards:
standards:
- stdc
return_type: int
arguments:
- type: const fenv_t *
- name: fegetexceptflag
standards:
standards:
- stdc
return_type: int
arguments:
- type: fexcept_t *
- type: int
- name: fesetexcept
standards:
standards:
- stdc
return_type: int
arguments:
- type: int
- name: fesetexceptflag
standards:
standards:
- stdc
return_type: int
arguments:
- type: const fexcept_t *
- type: int
- name: feholdexcept
standards:
standards:
- stdc
return_type: int
arguments:
- type: fenv_t *
- name: feupdateenv
standards:
standards:
- stdc
return_type: int
arguments:
- type: const fenv_t *
- name: fedisableexcept
standards:
standards:
- GNUExtensions
return_type: int
arguments:
- type: int
return_type: int
arguments:
- type: int
guard: null
- name: feenableexcept
standards:
standards:
- GNUExtensions
return_type: int
return_type: int
arguments:
- type: int
attributes: []
- name: fegetexcept
standards:
standards:
- GNUExtensions
return_type: int
arguments: []
2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/float.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header: float.h
standards:
standards:
- stdc
macros: []
types: []
Expand Down
4 changes: 2 additions & 2 deletions libc/newhdrgen/yaml/gpu/rpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ enums: []
objects: []
functions:
- name: rpc_host_call
standards:
standards:
- GPUExtensions
return_type: void
arguments:
- type: void *
- type: void *
- type: size_t
- name: rpc_fprintf
standards:
standards:
- GPUExtensions
return_type: int
arguments:
Expand Down
8 changes: 4 additions & 4 deletions libc/newhdrgen/yaml/inttypes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ enums: []
objects: []
functions:
- name: imaxabs
standards:
standards:
- stdc
return_type: intmax_t
arguments:
- type: intmax_t
- name: imaxdiv
standards:
standards:
- stdc
return_type: imaxdiv_t
arguments:
- type: intmax_t
- type: intmax_t
- name: strtoimax
standards:
standards:
- stdc
return_type: intmax_t
arguments:
- type: const char *__restrict
- type: char * *__restrict
- type: int
- name: strtoumax
standards:
standards:
- stdc
return_type: uintmax_t
arguments:
Expand Down
2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/limits.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header: limits.h
standards:
standards:
- stdc
macros: []
types: []
Expand Down
576 changes: 288 additions & 288 deletions libc/newhdrgen/yaml/math.yaml

Large diffs are not rendered by default.

94 changes: 47 additions & 47 deletions libc/newhdrgen/yaml/pthread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,125 +17,125 @@ types:
enums: []
functions:
- name: pthread_atfork
standards:
standards:
- POSIX
return_type: int
arguments:
- type: __atfork_callback_t
- type: __atfork_callback_t
- type: __atfork_callback_t
- name: pthread_attr_destroy
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- name: pthread_attr_init
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- name: pthread_attr_getdetachstate
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_attr_t *
- type: int *
- name: pthread_attr_getguardsize
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_attr_t *__restrict
- type: size_t *__restrict
- name: pthread_attr_getstack
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_attr_t *__restrict
- type: void **__restrict
- type: size_t *__restrict
- name: pthread_attr_getstacksize
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_attr_t *__restrict
- type: size_t *__restrict
- name: pthread_attr_setdetachstate
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- type: int
- name: pthread_attr_setguardsize
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- type: size_t
- name: pthread_attr_setstack
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- type: void *
- type: size_t
- name: pthread_attr_setstacksize
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- type: size_t
- name: pthread_condattr_destroy
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_condattr_t *
- name: pthread_condattr_getclock
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_condattr_t *__restrict
- type: clockid_t *__restrict
- name: pthread_condattr_getpshared
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_condattr_t *__restrict
- type: int *__restrict
- name: pthread_condattr_init
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_condattr_t *
- name: pthread_condattr_setclock
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_condattr_t *
- type: clockid_t
- name: pthread_condattr_setpshared
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_condattr_t *
- type: int
- name: pthread_create
standards:
standards:
- POSIX
return_type: int
arguments:
Expand All @@ -144,20 +144,20 @@ functions:
- type: __pthread_start_t
- type: void *
- name: pthread_detach
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_t
- name: pthread_equal
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_t
- type: pthread_t
- name: pthread_exit
standards:
standards:
- POSIX
return_type: _Noreturn void
arguments:
Expand All @@ -171,33 +171,33 @@ functions:
- type: char *
- type: size_t
- name: pthread_getspecific
standards:
standards:
- POSIX
return_type: void *
arguments:
- type: pthread_key_t
- name: pthread_join
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_t
- type: void **
- name: pthread_key_create
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_key_t *
- type: __pthread_tss_dtor_t
- name: pthread_key_delete
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_key_t
- name: pthread_self
standards:
standards:
- POSIX
return_type: pthread_t
arguments:
Expand All @@ -210,133 +210,133 @@ functions:
- type: pthread_t
- type: const char *
- name: pthread_mutex_destroy
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutex_t *
- name: pthread_mutex_init
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutex_t *__restrict
- type: const pthread_mutexattr_t *__restrict
- name: pthread_mutex_lock
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutex_t *
- name: pthread_mutex_unlock
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutex_t *
- name: pthread_mutexattr_destroy
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *
- name: pthread_mutexattr_init
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *
- name: pthread_mutexattr_getpshared
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_mutexattr_t *__restrict
- type: int *__restrict
- name: pthread_mutexattr_getrobust
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_mutexattr_t *__restrict
- type: int *__restrict
- name: pthread_mutexattr_gettype
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_mutexattr_t *__restrict
- type: int *__restrict
- name: pthread_mutexattr_setpshared
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *__restrict
- type: int
- name: pthread_mutexattr_setrobust
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *__restrict
- type: int
- name: pthread_mutexattr_settype
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *__restrict
- type: int
- name: pthread_once
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_once_t *
- type: __pthread_once_func_t
- name: pthread_rwlockattr_destroy
standards:
- POSIX
standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- name: pthread_rwlockattr_getkind_np
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- type: int *
- name: pthread_rwlockattr_getpshared
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const pthread_rwlockattr_t *
- type: int *
- name: pthread_rwlockattr_init
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- name: pthread_rwlockattr_setkind_np
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- type: int
- name: pthread_rwlockattr_setpshared
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- type: int
- name: pthread_setspecific
standards:
standards:
- POSIX
return_type: void *
arguments:
Expand Down
26 changes: 13 additions & 13 deletions libc/newhdrgen/yaml/sched.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,76 +11,76 @@ enums: []
objects: []
functions:
- name: sched_get_priority_max
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: sched_get_priority_min
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: sched_getaffinity
standards:
standards:
- GNUExtensions
return_type: int
arguments:
- type: pid_t
- type: size_t
- type: cpu_set_t *
- name: sched_getparam
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: struct sched_param *
- name: sched_getscheduler
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: int
- type: const struct sched_param *
- name: sched_rr_get_interval
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: struct timespec *
- name: sched_setaffinity
standards:
standards:
- GNUExtensions
return_type: int
arguments:
- type: pid_t
- type: size_t
- type: const cpu_set_t *
- name: sched_setparam
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: const struct sched_param *
- name: sched_setscheduler
standards:
standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- name: sched_yield
standards:
- POSIX
standards:
- POSIX
return_type: int
arguments:
arguments:
- type: void
- name: __sched_getcpucount
standards:
standards:
- llvm_libc_ext
return_type: int
arguments:
Expand Down
12 changes: 6 additions & 6 deletions libc/newhdrgen/yaml/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ enums: []
objects: []
functions:
- name: hcreate
standards:
standards:
- POSIX
return_type: int
arguments:
Expand All @@ -20,7 +20,7 @@ functions:
- type: size_t
- type: struct hsearch_data *
- name: hsearch
standards:
standards:
- POSIX
return_type: ENTRY *
arguments:
Expand All @@ -35,24 +35,24 @@ functions:
- type: ENTRY * *
- type: struct hsearch_data *
- name: hdestroy
standards: GNUExtensions
standards: GNUExtensions
return_type: void
arguments: []
- name: hdestroy_r
standards:
standards:
- POSIX
return_type: void
arguments:
- type: struct hsearch_data *
- name: insque
standards:
standards:
- POSIX
return_type: void
arguments:
- type: void *
- type: void *
- name: remque
standards:
standards:
- POSIX
return_type: void
arguments:
Expand Down
6 changes: 3 additions & 3 deletions libc/newhdrgen/yaml/setjmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ enums: []
objects: []
functions:
- name: longjmp
standards:
standards:
- stdc
return_type: _Noreturn void
arguments:
- type: jmp_buf
- type: jmp_buf
- type: int
- name: setjmp
standards:
standards:
- stdc
return_type: int
arguments:
Expand Down
32 changes: 16 additions & 16 deletions libc/newhdrgen/yaml/signal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,69 +12,69 @@ enums: []
objects: []
functions:
- name: raise
standards:
- stdc
standards:
- stdc
return_type: int
arguments:
- type: int
- name: kill
standards:
- POSIX
standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: int
- name: sigaction
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const struct sigaction *__restrict
- type: struct sigaction *__restrict
- name: sigaltstack
standards:
- POSIX
standards:
- POSIX
return_type: int
arguments:
- type: const stack_t *__restrict
- type: stack_t *__restrict
- name: sigdelset
standards:
- POSIX
standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- type: int
- name: sigaddset
standards:
standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- type: int
- name: sigemptyset
standards:
standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- name: sigprocmask
standards:
- POSIX
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const sigset_t *__restrict
- type: sigset_t *__restrict
- name: sigfillset
standards:
- POSIX
standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- name: signal
standards:
standards:
- stdc
return_type: __sighandler_t
arguments:
Expand Down
12 changes: 6 additions & 6 deletions libc/newhdrgen/yaml/spawn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ enums: []
objects: []
functions:
- name: posix_spawn
standards:
standards:
- POSIX
return_type: int
arguments:
Expand All @@ -20,22 +20,22 @@ functions:
- type: const char *__restrict *
- type: const char *__restrict *
- name: posix_spawn_file_actions_addclose
standards:
standards:
- POSIX
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
- type: int
- name: posix_spawn_file_actions_adddup2
standards:
standards:
- POSIX
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
- type: int
- type: int
- name: posix_spawn_file_actions_addopen
standards:
standards:
- POSIX
return_type: int
arguments:
Expand All @@ -45,13 +45,13 @@ functions:
- type: int
- type: mode_t
- name: posix_spawn_file_actions_destroy
standards:
standards:
- POSIX
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
- name: posix_spawn_file_actions_init
standards:
standards:
- POSIX
return_type: int
arguments:
Expand Down
130 changes: 65 additions & 65 deletions libc/newhdrgen/yaml/stdbit.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/stdckdint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header: stdckdint.h
standards:
standards:
- stdc
macros: []
types: []
Expand Down
62 changes: 31 additions & 31 deletions libc/newhdrgen/yaml/stdfix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,194 +5,194 @@ enums: []
objects: []
functions:
- name: abshk
standards:
standards:
- stdc_ext
return_type: short accum
arguments:
- type: short accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: abshr
standards:
standards:
- stdc_ext
return_type: short fract
arguments:
- type: short fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: absk
standards:
standards:
- stdc_ext
return_type: accum
arguments:
- type: accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: absr
standards:
standards:
- stdc_ext
return_type: fract
arguments:
- type: fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: abslk
standards:
standards:
- stdc_ext
return_type: long accum
arguments:
- type: long accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: abslr
standards:
standards:
- stdc_ext
return_type: long fract
arguments:
- type: long fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: exphk
standards:
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: short accum
arguments:
- type: short accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: expk
standards:
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: accum
arguments:
- type: accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundhk
standards:
standards:
- stdc_ext
return_type: short accum
arguments:
- type: short accum
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundhr
standards:
standards:
- stdc_ext
return_type: short fract
arguments:
- type: short fract
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundk
standards:
standards:
- stdc_ext
return_type: accum
arguments:
- type: accum
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundr
standards:
standards:
- stdc_ext
return_type: fract
arguments:
- type: fract
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundlk
standards:
standards:
- stdc_ext
return_type: long accum
arguments:
- type: long accum
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundlr
standards:
standards:
- stdc_ext
return_type: long fract
arguments:
- type: long fract
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: rounduhk
standards:
standards:
- stdc_ext
return_type: unsigned short accum
arguments:
- type: unsigned short accum
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: rounduhr
standards:
standards:
- stdc_ext
return_type: unsigned short fract
arguments:
- type: unsigned short fract
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: rounduk
standards:
standards:
- stdc_ext
return_type: unsigned accum
arguments:
- type: unsigned accum
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundur
standards:
standards:
- stdc_ext
return_type: unsigned fract
arguments:
- type: unsigned fract
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundulk
standards:
standards:
- stdc_ext
return_type: unsigned long accum
arguments:
- type: unsigned long accum
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundulr
standards:
standards:
- stdc_ext
return_type: unsigned long fract
arguments:
- type: unsigned long fract
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtuhk
standards:
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned short accum
arguments:
- type: unsigned short accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtuhr
standards:
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned short fract
arguments:
- type: unsigned short fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtuk
standards:
- stdc_ext
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned accum
arguments:
- type: unsigned accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtur
standards:
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned fract
arguments:
- type: unsigned fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtulr
standards:
- stdc_ext
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned long fract
arguments:
Expand All @@ -204,17 +204,17 @@ functions:
arguments:
- type: unsigned long accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: uhksqrtus
standards:
- name: uhksqrtus
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned short accum
arguments:
- type: unsigned short
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: uksqrtui
standards:
- stdc_ext
standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned accum
arguments:
Expand Down
2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/stdint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header: stdint.h
standards:
standards:
- stdc
macros: []
types: []
Expand Down
140 changes: 70 additions & 70 deletions libc/newhdrgen/yaml/stdio.yaml

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions libc/newhdrgen/yaml/stdlib.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header: stdlib.h
standards:
standards:
- stdc
macros: []
types:
Expand All @@ -15,37 +15,37 @@ enums: []
objects: []
functions:
- name: abs
standards:
standards:
- stdc
return_type: int
arguments:
- type: int
- name: atoi
standards:
standards:
- stdc
return_type: int
arguments:
- type: const char *
- name: atof
standards:
standards:
- stdc
return_type: double
arguments:
- type: const char *__restrict
- name: atol
standards:
standards:
- stdc
return_type: long
arguments:
- type: const char *
- name: atoll
standards:
standards:
- stdc
return_type: long long
arguments:
- type: const char *
- name: bsearch
standards:
standards:
- stdc
return_type: void *
arguments:
Expand All @@ -55,40 +55,40 @@ functions:
- type: size_t
- type: __bsearchcompare_t
- name: div
standards:
standards:
- stdc
return_type: div_t
arguments:
- type: int
- type: int
- name: labs
standards:
standards:
- stdc
return_type: long
arguments:
- type: long
- name: ldiv
standards:
standards:
- stdc
return_type: ldiv_t
arguments:
- type: long
- type: long
- name: llabs
standards:
standards:
- stdc
return_type: long long
arguments:
- type: long long
- name: lldiv
standards:
standards:
- stdc
return_type: lldiv_t
arguments:
- type: long long
- type: long long
- name: qsort
standards:
standards:
- stdc
return_type: void
arguments:
Expand All @@ -97,8 +97,8 @@ functions:
- type: size_t
- type: __qsortcompare_t
- name: qsort_r
standards:
- GNUExtensions
standards:
- GNUExtensions
return_type: void
arguments:
- type: void *
Expand All @@ -107,19 +107,19 @@ functions:
- type: __qsortrcompare_t
- type: void *
- name: rand
standards:
standards:
- stdc
return_type: int
arguments:
- type: void
- name: srand
standards:
standards:
- stdc
return_type: void
arguments:
- type: unsigned int
- name: strfromd
standards:
standards:
- stdc
return_type: int
arguments:
Expand All @@ -128,7 +128,7 @@ functions:
- type: const char *__restrict
- type: double
- name: strfromf
standards:
standards:
- stdc
return_type: int
arguments:
Expand All @@ -137,7 +137,7 @@ functions:
- type: const char *__restrict
- type: float
- name: strfroml
standards:
standards:
- stdc
return_type: int
arguments:
Expand All @@ -146,129 +146,129 @@ functions:
- type: const char *__restrict
- type: long double
- name: strtod
standards:
standards:
- stdc
return_type: double
arguments:
- type: const char *__restrict
- type: char **__restrict
- name: strtof
standards:
standards:
- stdc
return_type: float
arguments:
- type: const char *__restrict
- type: char **__restrict
- name: strtol
standards:
standards:
- stdc
return_type: long
arguments:
- type: const char *__restrict
- type: char **__restrict
- type: int
- name: strtold
standards:
standards:
- stdc
return_type: long double
arguments:
- type: const char *__restrict
- type: char **__restrict
- name: strtoll
standards:
standards:
- stdc
return_type: long long
arguments:
- type: const char *__restrict
- type: char **__restrict
- type: int
- name: strtoul
standards:
standards:
- stdc
return_type: unsigned long
arguments:
- type: const char *__restrict
- type: char **__restrict
- type: int
- name: strtoull
standards:
standards:
- stdc
return_type: unsigned long long
arguments:
- type: const char *__restrict
- type: char **__restrict
- type: int
- name: malloc
standards:
standards:
- stdc
return_type: void *
arguments:
- type: size_t
- name: calloc
standards:
standards:
- stdc
return_type: void *
arguments:
- type: size_t
- type: size_t
- name: realloc
standards:
standards:
- stdc
return_type: void *
arguments:
- type: void *
- type: size_t
- name: aligned_alloc
standards:
standards:
- stdc
return_type: void *
arguments:
- type: size_t
- type: size_t
- name: free
standards:
standards:
- stdc
return_type: void
arguments:
- type: void *
- name: _Exit
standards:
standards:
- stdc
return_type: _Noreturn void
arguments:
- type: int
- name: abort
standards:
standards:
- stdc
return_type: _Noreturn void
arguments:
- type: void
- name: at_quick_exit
standards:
standards:
- stdc
return_type: int
arguments:
- type: __atexithandler_t
- name: atexit
standards:
standards:
- stdc
return_type: int
arguments:
- type: __atexithandler_t
- name: exit
standards:
standards:
- stdc
return_type: _Noreturn void
arguments:
- type: int
- name: getenv
standards:
standards:
- stdc
return_type: char *
arguments:
- type: const char *
- name: quick_exit
standards:
standards:
- stdc
return_type: _Noreturn void
arguments:
Expand Down
78 changes: 39 additions & 39 deletions libc/newhdrgen/yaml/string.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,122 +6,122 @@ enums: []
objects: []
functions:
- name: memcpy
standards:
standards:
- stdc
return_type: void *
arguments:
- type: void *__restrict
- type: const void *__restrict
- type: size_t
- name: memmove
standards:
standards:
- stdc
return_type: void *
arguments:
- type: void *
- type: const void *
- type: size_t
- name: memcmp
standards:
standards:
- stdc
return_type: int
arguments:
- type: const void *
- type: const void *
- type: size_t
- name: memchr
standards:
standards:
- stdc
return_type: void *
arguments:
- type: const void *
- type: int
- type: size_t
- name: memset
standards:
standards:
- stdc
return_type: void *
arguments:
- type: void *
- type: int
- type: size_t
- name: memset_explicit
standards:
standards:
- stdc
return_type: void *
arguments:
- type: void *
- type: int
- type: size_t
- name: strcpy
standards:
standards:
- stdc
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: strncpy
standards:
standards:
- stdc
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- type: size_t
- name: strcat
standards:
standards:
- stdc
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: strncat
standards:
standards:
- stdc
return_type: char *
arguments:
- type: char *
- type: const char *
- type: size_t
- name: strcmp
standards:
standards:
- stdc
return_type: int
arguments:
- type: const char *
- type: const char *
- name: strcoll
standards:
standards:
- stdc
return_type: int
arguments:
- type: const char *
- type: const char *
- name: strncmp
standards:
standards:
- stdc
return_type: int
arguments:
- type: const char *
- type: const char *
- type: size_t
- name: strxfrm
standards:
standards:
- stdc
return_type: size_t
arguments:
- type: char *__restrict
- type: const char *__restrict
- type: size_t
- name: strchr
standards:
standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: int
- name: strcspn
standards:
standards:
- stdc
return_type: size_t
arguments:
Expand All @@ -132,61 +132,61 @@ functions:
arguments:
- type: const char *
- name: strndup
standards:
standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: size_t
- name: strpbrk
standards:
standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: const char *
- name: strrchr
standards:
standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: int
- name: strspn
standards:
standards:
- stdc
return_type: size_t
arguments:
- type: const char *
- type: const char *
- name: strstr
standards:
standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: const char *
- name: strtok
standards:
standards:
- stdc
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: strerror
standards:
standards:
- stdc
return_type: char *
arguments:
- type: int
- name: strlen
standards:
standards:
- stdc
return_type: size_t
arguments:
- type: const char *
- name: memccpy
standards:
standards:
- POSIX
return_type: void *
arguments:
Expand All @@ -195,51 +195,51 @@ functions:
- type: int
- type: size_t
- name: mempcpy
standards:
standards:
- POSIX
return_type: void *
arguments:
- type: void *__restrict
- type: const void *__restrict
- type: size_t
- name: stpcpy
standards:
standards:
- POSIX
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: stpncpy
standards:
standards:
- POSIX
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- type: size_t
- name: strnlen
standards:
standards:
- POSIX
return_type: size_t
arguments:
- type: const char *
- type: size_t
- name: strtok_r
standards:
standards:
- POSIX
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- type: char ** __restrict
- name: strsignal
standards:
standards:
- POSIX
return_type: char *
arguments:
- type: int
- name: memmem
standards:
standards:
- GNUExtensions
return_type: void *
arguments:
Expand All @@ -248,53 +248,53 @@ functions:
- type: const void *
- type: size_t
- name: memrchr
standards:
standards:
- GNUExtensions
return_type: void *
arguments:
- type: const void *
- type: int
- type: size_t
- name: strerror_r
standards:
standards:
- GNUExtensions
return_type: char *
arguments:
- type: int
- type: char *
- type: size_t
- name: strcasestr
standards:
standards:
- GNUExtensions
return_type: char *
arguments:
- type: const char *
- type: const char *
- name: strchrnul
standards:
standards:
- GNUExtensions
return_type: char *
arguments:
- type: const char *
- type: int
- name: strlcat
standards:
standards:
- BSDExtensions
return_type: size_t
arguments:
- type: const char *__restrict
- type: const char *__restrict
- type: size_t
- name: strlcpy
standards:
standards:
- BSDExtensions
return_type: size_t
arguments:
- type: const char *__restrict
- type: const char *__restrict
- type: size_t
- name: strsep
standards:
standards:
- BSDExtensions
return_type: char *
arguments:
Expand Down
14 changes: 7 additions & 7 deletions libc/newhdrgen/yaml/strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,52 @@ enums: []
objects: []
functions:
- name: bcopy
standards:
standards:
- llvm_libc_ext
return_type: void
arguments:
- type: const void *
- type: void *
- type: size_t
- name: bzero
standards:
standards:
- llvm_libc_ext
return_type: void
arguments:
- type: void *
- type: size_t
- name: bcmp
standards:
standards:
- llvm_libc_ext
return_type: int
arguments:
- type: const void *
- type: const void *
- type: size_t
- name: strcasecmp
standards:
standards:
- BSDExtensions
return_type: int
arguments:
- type: const char *
- type: const char *
- name: strncasecmp
standards:
standards:
- BSDExtensions
return_type: int
arguments:
- type: const char *
- type: const char *
- type: size_t
- name: index
standards:
standards:
- BSDExtensions
return_type: char *
arguments:
- type: const char *
- type: int
- name: rindex
standards:
standards:
- BSDExtensions
return_type: char *
arguments:
Expand Down
2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/sys/auxv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ enums: []
objects: []
functions:
- name: getauxval
standards:
standards:
- GNUExtensions
return_type: unsigned long
arguments:
Expand Down
12 changes: 6 additions & 6 deletions libc/newhdrgen/yaml/sys/epoll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ enums: []
objects: []
functions:
- name: epoll_create
standards:
standards:
- Linux
return_type: int
arguments:
- type: int
- name: epoll_create1
standards:
standards:
- Linux
return_type: int
arguments:
- type: int
- name: epoll_ctl
standards:
standards:
- Linux
return_type: int
arguments:
Expand All @@ -30,7 +30,7 @@ functions:
- type: int
- type: struct epoll_event *
- name: epoll_wait
standards:
standards:
- Linux
return_type: int
arguments:
Expand All @@ -39,7 +39,7 @@ functions:
- type: int
- type: int
- name: epoll_pwait
standards:
standards:
- Linux
return_type: int
arguments:
Expand All @@ -49,7 +49,7 @@ functions:
- type: int
- type: const sigset_t *
- name: epoll_pwait2
standards:
standards:
- Linux
return_type: int
arguments:
Expand Down
29 changes: 14 additions & 15 deletions libc/newhdrgen/yaml/sys/mman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ enums: []
objects: []
functions:
- name: madvise
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void *
- type: size_t
- type: int
- name: mmap
standards:
standards:
- POSIX
return_type: void *
arguments:
Expand All @@ -27,45 +27,45 @@ functions:
- type: int
- type: off_t
- name: mprotect
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void *
- type: size_t
- type: int
- name: munmap
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void *
- type: size_t
- name: posix_madvise
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void *
- type: size_t
- type: int
- name: mincore
standards:
standards:
- Linux
return_type: int
arguments:
- type: void *
- type: size_t
- type: unsigned char *
- name: mlock
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void *
- type: size_t
- name: mlock2
standards:
standards:
- Linux
return_type: int
arguments:
Expand All @@ -79,37 +79,36 @@ functions:
- type: void *
- type: size_t
- name: mlockall
standards:
-POSIX
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: munlockall
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void
- name: msync
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void *
- type: size_t
- type: int
- name: shm_open
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: int
- type: mode_t
- name: shm_unlink
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *

2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/sys/random.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ enums: []
objects: []
functions:
- name: getrandom
standards:
standards:
- Linux
return_type: ssize_t
arguments:
Expand Down
4 changes: 2 additions & 2 deletions libc/newhdrgen/yaml/sys/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ enums: []
objects: []
functions:
- name: getrlimit
standards:
standards:
- POSIX
return_type: int
arguments:
- type: struct rlimit *
- name: setrlimit
standards:
standards:
- POSIX
return_type: int
arguments:
Expand Down
2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/sys/select.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enums: []
objects: []
functions:
- name: select
standards:
standards:
- POSIX
return_type: int
arguments:
Expand Down
14 changes: 7 additions & 7 deletions libc/newhdrgen/yaml/sys/sendfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ types:
- type_name: off_t
enums: []
objects: []
functions:
functions:
- name: sendfile
standards:
standards:
- GNUExtensions
return_type: ssize_t
arguments:
- type: int
- type: int
- type: off_t *
- type: size_t
arguments:
- type: int
- type: int
- type: off_t *
- type: size_t
4 changes: 2 additions & 2 deletions libc/newhdrgen/yaml/sys/socket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ enums: []
objects: []
functions:
- name: socket
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- type: int
- name: bind
standards:
standards:
- POSIX
return_type: int
arguments:
Expand Down
16 changes: 8 additions & 8 deletions libc/newhdrgen/yaml/sys/stat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ enums: []
objects: []
functions:
- name: chmod
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: mode_t
- name: fchmod
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: mode_t
- name: fchmodat
standards:
standards:
- POSIX
return_type: int
arguments:
Expand All @@ -40,36 +40,36 @@ functions:
- type: mode_t
- type: int
- name: fstat
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct stat *
- name: lstat
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *__restrict
- type: struct stat *__restrict
- name: mkdir
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: mode_t
- name: mkdirat
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const char *
- type: mode_t
- name: stat
standards:
standards:
- POSIX
return_type: int
arguments:
Expand Down
6 changes: 3 additions & 3 deletions libc/newhdrgen/yaml/sys/statvfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ enums: []
objects: []
functions:
- name: statvfs
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *__restrict
- type: struct statvfs *__restrict
- name: fstatvfs
standards:
standards:
- POSIX
return_type: int
arguments:
arguments:
- type: int
- type: struct statvfs *
2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/sys/utsname.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ enums: []
objects: []
functions:
- name: uname
standards:
standards:
- POSIX
return_type: int
arguments:
Expand Down
8 changes: 4 additions & 4 deletions libc/newhdrgen/yaml/sys/wait.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ enums: []
objects: []
functions:
- name: wait
standards:
standards:
- POSIX
return_type: pid_t
arguments:
- type: int *
- name: wait4
standards:
standards:
- BSDExtensions
- POSIX
- POSIX
return_type: pid_t
arguments:
- type: pid_t
- type: int *
- type: int
- type: struct rusage *
- name: waitpid
standards:
standards:
- POSIX
return_type: pid_t
arguments:
Expand Down
24 changes: 12 additions & 12 deletions libc/newhdrgen/yaml/termios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,73 +10,73 @@ enums: []
objects: []
functions:
- name: cfgetispeed
standards:
standards:
- POSIX
return_type: speed_t
arguments:
- type: const struct termios *
- name: cfgetospeed
standards:
standards:
- POSIX
return_type: speed_t
arguments:
- type: const struct termios *
- name: cfsetispeed
standards:
standards:
- POSIX
return_type: speed_t
arguments:
- type: struct termios *
- type: speed_t
- name: cfsetospeed
standards:
standards:
- POSIX
return_type: speed_t
arguments:
- type: struct termios *
- type: speed_t
- name: tcgetattr
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct termios *
- name: tcgetsid
standards:
standards:
- POSIX
return_type: pid_t
arguments:
- type: int
- name: tcdrain
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: tcflow
standards:
- POSIX
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcflush
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcsendbreak
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcsetattr
standards:
standards:
- POSIX
return_type: int
arguments:
Expand Down
36 changes: 18 additions & 18 deletions libc/newhdrgen/yaml/threads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,117 +31,117 @@ enums:
objects: []
functions:
- name: call_once
standards:
standards:
- stdc
return_type: void
arguments:
- type: once_flag *
- type: __call_once_func_t
- name: cnd_broadcast
standards:
standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_destroy
standards:
standards:
- stdc
return_type: void
arguments:
- type: cnd_t *
- name: cnd_init
standards:
standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_signal
standards:
standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_wait
standards:
standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- type: mtx_t *
- name: mtx_init
standards:
standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- type: int
- name: mtx_destroy
standards:
standards:
- stdc
return_type: int
arguments:
- type: void
- name: mtx_lock
standards:
standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- name: mtx_unlock
standards:
standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- name: thrd_create
standards:
standards:
- stdc
return_type: int
arguments:
- type: thrd_t *
- type: thrd_start_t
- type: void *
- name: thrd_join
standards:
standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- type: int *
- name: thrd_detach
standards:
standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- name: thrd_current
standards:
standards:
- stdc
return_type: thrd_t
arguments:
- type: void
- name: thrd_equal
standards:
standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- type: thrd_t
- name: thrd_exit
standards:
standards:
- stdc
return_type: void
arguments:
- type: int
- name: tss_create
standards:
standards:
- stdc
return_type: int
arguments:
- type: tss_t *
- type: tss_dtor_t
- name: tss_delete
standards:
standards:
- stdc
return_type: int
arguments:
Expand Down
20 changes: 10 additions & 10 deletions libc/newhdrgen/yaml/time.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,67 +17,67 @@ functions:
arguments:
- type: const struct tm *
- name: asctime_r
standard:
standard:
- stdc
return_type: char *
arguments:
- type: struct tm *
- type: char *
- name: clock_gettime
standard:
standard:
- POSIX
return_type: int
arguments:
- type: clockid_t
- type: struct timespec *
- name: clock
standard:
standard:
- stdc
return_type: clock_t
arguments:
- type: void
- name: difftime
standard:
standard:
- stdc
return_type: double
arguments:
- type: time_t
- type: time_t
- name: gettimeofday
standard:
standard:
- POSIX
return_type: int
arguments:
- type: struct timeval *
- type: void *
- name: gmtime
standard:
standard:
- stdc
return_type: struct tm *
arguments:
- type: time_t *
- name: gmtime_r
standard:
standard:
- stdc
return_type: struct tm *
arguments:
- type: time_t *
- type: struct tm *
- name: mktime
standard:
standard:
- stdc
return_type: time_t
arguments:
- type: struct tm *
- name: nanosleep
standard:
standard:
- POSIX
return_type: int
arguments:
- type: const struct timespec *
- type: struct timespec *
- name: time
standard:
standard:
- stdc
return_type: time_t
arguments:
Expand Down
2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/uchar.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header: uchar.h
standards:
standards:
- stdc
macros: []
types:
Expand Down
82 changes: 41 additions & 41 deletions libc/newhdrgen/yaml/unistd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,120 +23,120 @@ objects:
object_type: int
functions:
- name: access
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: int
- name: chdir
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: close
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: dup
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: dup2
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: dup3
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- type: int
- name: execve
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: __exec_argv_t
- type: __exec_envp_t
- name: fchdir
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: fsync
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: ftruncate
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: off_t
- name: getcwd
standards:
standards:
- POSIX
return_type: char *
arguments:
- type: char *
- type: size_t
- name: geteuid
standards:
standards:
- POSIX
return_type: uid_t
arguments:
- type: void
- name: getpid
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void
- name: getppid
standards:
standards:
- POSIX
return_type: int
arguments:
- type: void
- name: getuid
standards:
standards:
- POSIX
return_type: uid_t
arguments:
- type: void
- name: isatty
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
guard: null
attributes: []
- name: link
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: const char *
- name: linkat
standards:
standards:
- POSIX
return_type: int
arguments:
Expand All @@ -145,22 +145,22 @@ functions:
- type: int
- type: const char *
- type: int
- name: lseek
standards:
- name: lseek
standards:
- POSIX
return_type: off_t
arguments:
- type: int
- type: off_t
- type: int
- name: pipe
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int *
- name: pread
standards:
standards:
- POSIX
return_type: ssize_t
arguments:
Expand All @@ -169,7 +169,7 @@ functions:
- type: size_t
- type: off_t
- name: pwrite
standards:
standards:
- POSIX
return_type: ssize_t
arguments:
Expand All @@ -178,44 +178,44 @@ functions:
- type: size_t
- type: off_t
- name: read
standards:
standards:
- POSIX
return_type: ssize_t
arguments:
- type: int
- type: void *
- type: size_t
- name: readlink
standards:
standards:
- POSIX
return_type: ssize_t
arguments:
- type: const char *__restrict
- type: char *__restrict
- type: size_t
- name: readlinkat
standards:
standards:
- POSIX
return_type: ssize_t
arguments:
- type: const char *__restrict
- type: char *__restrict
- type: size_t
- name: rmdir
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: symlink
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: const char *
- name: symlinkat
standards:
standards:
- POSIX
return_type: int
arguments:
Expand All @@ -224,34 +224,34 @@ functions:
- type: int
- type: const char *
- name: sysconf
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: truncate
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: off_t
- name: unlink
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: unlinkat
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const char *
- type: int
- name: write
standards:
standards:
- POSIX
return_type: ssize_t
arguments:
Expand All @@ -261,26 +261,26 @@ functions:
guard: null
attributes: []
- name: _exit
standards:
standards:
- POSIX
return_type: _Noreturn void
arguments:
- type: int
- name: execv
standards:
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: __exec_argv_t
- name: fork
standards:
standards:
- POSIX
return_type: pid_t
arguments:
- type: void
- name: __llvm_libc_syscall
standards:
standards:
- POSIX
return_type: long
arguments:
Expand All @@ -292,23 +292,23 @@ functions:
- type: long
- type: long
- name: getopt
standards:
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: __getoptargv_t
- type: const char *
- name: swab
standards:
standards:
- POSIX
return_type: void
arguments:
- type: const void *__restrict
- type: void *
- type: ssize_t
- name: gettid
standards:
standards:
- Linux
return_type: pid_t
arguments:
Expand Down
2 changes: 1 addition & 1 deletion libc/newhdrgen/yaml/wchar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ enums: []
objects: []
functions:
- name: wctob
standards:
standards:
- stdc
return_type: int
arguments:
Expand Down