diff --git a/libc/newhdrgen/yaml/arpa/inet.yaml b/libc/newhdrgen/yaml/arpa/inet.yaml index cb366e0f5d694..c825393b87a22 100644 --- a/libc/newhdrgen/yaml/arpa/inet.yaml +++ b/libc/newhdrgen/yaml/arpa/inet.yaml @@ -4,27 +4,27 @@ types: [] enums: [] objects: [] functions: - - name: htonl - standards: - - POSIX - return_type: uint32_t - arguments: - - type: uint32_t - - name: htons - standards: - - POSIX - return_type: uint16_t - arguments: - - type: uint16_t - - name: ntohl - standards: - - POSIX - return_type: uint32_t - arguments: - - type: uint32_t - - name: ntohs - standards: - - POSIX - return_type: uint16_t - arguments: - - type: uint16_t +- name: htonl + standards: + - POSIX + return_type: uint32_t + arguments: + - type: uint32_t +- name: htons + standards: + - POSIX + return_type: uint16_t + arguments: + - type: uint16_t +- name: ntohl + standards: + - POSIX + return_type: uint32_t + arguments: + - type: uint32_t +- name: ntohs + standards: + - POSIX + return_type: uint16_t + arguments: + - type: uint16_t diff --git a/libc/newhdrgen/yaml/assert.yaml b/libc/newhdrgen/yaml/assert.yaml index f740554488ed5..358c513da7f46 100644 --- a/libc/newhdrgen/yaml/assert.yaml +++ b/libc/newhdrgen/yaml/assert.yaml @@ -4,12 +4,12 @@ types: [] enums: [] objects: [] functions: - - name: __assert_fail - standards: - - llvm_libc_ext - return_type: _Noreturn void - arguments: - - type: const char * - - type: const char * - - type: unsigned - - type: const char * +- name: __assert_fail + standards: + - llvm_libc_ext + return_type: _Noreturn void + arguments: + - type: const char * + - type: const char * + - type: unsigned + - type: const char * diff --git a/libc/newhdrgen/yaml/ctype.yaml b/libc/newhdrgen/yaml/ctype.yaml index e5b4d11422d98..1207e0d3df0dc 100644 --- a/libc/newhdrgen/yaml/ctype.yaml +++ b/libc/newhdrgen/yaml/ctype.yaml @@ -4,100 +4,100 @@ types: [] enums: [] objects: [] functions: - - name: isalnum - standards: - - stdc - return_type: int - arguments: - - type: int - - name: isalpha - standards: - - stdc - return_type: int - arguments: - - type: int - - name: isblank - standards: - - stdc - return_type: int - arguments: - - type: int - - name: iscntrl - standards: - - stdc - return_type: int - arguments: - - type: int - - name: isdigit - standards: - - stdc - return_type: int - arguments: - - type: int - - name: isgraph - standards: - - stdc - return_type: int - arguments: - - type: int - - name: islower - standards: - - stdc - return_type: int - arguments: - - type: int - - name: isprint - standards: - - stdc - return_type: int - arguments: - - type: int - - name: ispunct - standards: - - stdc - return_type: int - arguments: - - type: int - - name: isspace - standards: - - stdc - return_type: int - arguments: - - type: int - - name: isupper - standards: - - stdc - return_type: int - arguments: - - type: int - - name: isxdigit - standards: - - stdc - return_type: int - arguments: - - type: int - - name: tolower - standards: - - stdc - return_type: int - arguments: - - type: int - - name: toupper - standards: - - stdc - return_type: int - arguments: - - type: int - functions: - - name: isascii - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: toascii - standards: - - GNUExtensions - return_type: int - arguments: - - type: int +- name: isalnum + standards: + - stdc + return_type: int + arguments: + - type: int +- name: isalpha + standards: + - stdc + return_type: int + arguments: + - type: int +- name: isascii + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: isblank + standards: + - stdc + return_type: int + arguments: + - type: int +- name: iscntrl + standards: + - stdc + return_type: int + arguments: + - type: int +- name: isdigit + standards: + - stdc + return_type: int + arguments: + - type: int +- name: isgraph + standards: + - stdc + return_type: int + arguments: + - type: int +- name: islower + standards: + - stdc + return_type: int + arguments: + - type: int +- name: isprint + standards: + - stdc + return_type: int + arguments: + - type: int +- name: ispunct + standards: + - stdc + return_type: int + arguments: + - type: int +- name: isspace + standards: + - stdc + return_type: int + arguments: + - type: int +- name: isupper + standards: + - stdc + return_type: int + arguments: + - type: int +- name: isxdigit + standards: + - stdc + return_type: int + arguments: + - type: int +- name: toascii + standards: + - GNUExtensions + return_type: int + arguments: + - type: int +- name: tolower + standards: + - stdc + return_type: int + arguments: + - type: int +- name: toupper + standards: + - stdc + return_type: int + arguments: + - type: int + functions: null diff --git a/libc/newhdrgen/yaml/dirent.yaml b/libc/newhdrgen/yaml/dirent.yaml index cdccf6a0c7f29..dd29a44dd051f 100644 --- a/libc/newhdrgen/yaml/dirent.yaml +++ b/libc/newhdrgen/yaml/dirent.yaml @@ -1,46 +1,46 @@ header: dirent.h macros: [] types: - - type_name: struct_dirent - - type_name: DIR - - type_name: ino_t +- type_name: struct_dirent +- type_name: DIR +- type_name: ino_t enums: [] objects: [] functions: - - name: alphasort - standards: - - POSIX - return_type: int - arguments: - - type: const struct dirent ** - - type: const struct dirent ** - - name: closedir - standards: - - POSIX - return_type: int - arguments: - - type: DIR * - - name: dirfd - standards: - - POSIX - return_type: int - arguments: - - type: DIR * - - name: fdopendir - standards: - - POSIX - return_type: DIR * - arguments: - - type: int - - name: opendir - standards: - - POSIX - return_type: DIR * - arguments: - - type: const char * - - name: readdir - standards: - - POSIX - return_type: struct dirent * - arguments: - - type: DIR * +- name: alphasort + standards: + - POSIX + return_type: int + arguments: + - type: const struct dirent ** + - type: const struct dirent ** +- name: closedir + standards: + - POSIX + return_type: int + arguments: + - type: DIR * +- name: dirfd + standards: + - POSIX + return_type: int + arguments: + - type: DIR * +- name: fdopendir + standards: + - POSIX + return_type: DIR * + arguments: + - type: int +- name: opendir + standards: + - POSIX + return_type: DIR * + arguments: + - type: const char * +- name: readdir + standards: + - POSIX + return_type: struct dirent * + arguments: + - type: DIR * diff --git a/libc/newhdrgen/yaml/dlfcn.yaml b/libc/newhdrgen/yaml/dlfcn.yaml index 725ee705714a7..ee3ae3cda3f6b 100644 --- a/libc/newhdrgen/yaml/dlfcn.yaml +++ b/libc/newhdrgen/yaml/dlfcn.yaml @@ -1,39 +1,39 @@ header: dlfcn.h macros: - - macro_name: RTLD_LAZY - macro_value: null - - macro_name: RTLD_NOW - macro_value: null - - macro_name: RTLD_GLOBAL - macro_value: null - - macro_name: RTLD_LOCAL - macro_value: null +- macro_name: RTLD_LAZY + macro_value: null +- macro_name: RTLD_NOW + macro_value: null +- macro_name: RTLD_GLOBAL + macro_value: null +- macro_name: RTLD_LOCAL + macro_value: null types: [] enums: [] objects: [] 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: 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 diff --git a/libc/newhdrgen/yaml/errno.yaml b/libc/newhdrgen/yaml/errno.yaml index a894063a1ee2c..1e6fa658aca26 100644 --- a/libc/newhdrgen/yaml/errno.yaml +++ b/libc/newhdrgen/yaml/errno.yaml @@ -1,8 +1,8 @@ header: errno.h standards: - - stdc - - Linux - - POSIX +- stdc +- Linux +- POSIX macros: [] types: [] enums: [] diff --git a/libc/newhdrgen/yaml/fcntl.yaml b/libc/newhdrgen/yaml/fcntl.yaml index a7bd1997b0eac..357dba02dbe87 100644 --- a/libc/newhdrgen/yaml/fcntl.yaml +++ b/libc/newhdrgen/yaml/fcntl.yaml @@ -1,40 +1,40 @@ header: fcntl.h macros: [] types: - - type_name: off_t - - type_name: mode_t +- type_name: off_t +- type_name: mode_t enums: [] objects: [] functions: - - name: creat - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: mode_t - - name: fcntl - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: int - - type: ... - - name: open - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: int - - type: ... - - name: openat - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const char * - - type: int - - type: ... +- name: creat + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: mode_t +- name: fcntl + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: int + - type: '...' +- name: open + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: int + - type: '...' +- name: openat + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const char * + - type: int + - type: '...' diff --git a/libc/newhdrgen/yaml/features.yaml b/libc/newhdrgen/yaml/features.yaml index a18af22edb743..6e85a8d763314 100644 --- a/libc/newhdrgen/yaml/features.yaml +++ b/libc/newhdrgen/yaml/features.yaml @@ -1,6 +1,6 @@ header: features.h standards: - - stdc +- stdc macros: [] types: [] enums: [] diff --git a/libc/newhdrgen/yaml/fenv.yaml b/libc/newhdrgen/yaml/fenv.yaml index 95eb93c883e3c..fd96fa857769c 100644 --- a/libc/newhdrgen/yaml/fenv.yaml +++ b/libc/newhdrgen/yaml/fenv.yaml @@ -1,107 +1,107 @@ header: fenv.h macros: [] types: - - type_name: fenv_t - - type_name: fexcept_t +- type_name: fenv_t +- type_name: fexcept_t enums: [] objects: [] functions: - - name: feclearexcept - standards: - - stdc - return_type: int - arguments: - - type: int - - name: fetestexcept - standards: - - stdc - return_type: int - arguments: - - type: int - - name: fetestexceptflag - standards: - - stdc - return_type: int - arguments: - - type: const fexcept_t * - - type: int - - name: feraiseexcept - standards: - - stdc - return_type: int - arguments: - - type: int - - name: fesetround - standards: - - stdc - return_type: int - arguments: - - type: int - - name: fegetround - standards: - - stdc - return_type: int - arguments: [] - - name: fegetenv - standards: - - stdc - return_type: int - arguments: - - type: fenv_t * - - name: fesetenv - standards: - - stdc - return_type: int - arguments: - - type: const fenv_t * - - name: fegetexceptflag - standards: - - stdc - return_type: int - arguments: - - type: fexcept_t * - - type: int - - name: fesetexcept - standards: - - stdc - return_type: int - arguments: - - type: int - - name: fesetexceptflag - standards: - - stdc - return_type: int - arguments: - - type: const fexcept_t * - - type: int - - name: feholdexcept - standards: - - stdc - return_type: int - arguments: - - type: fenv_t * - - name: feupdateenv - standards: - - stdc - return_type: int - arguments: - - type: const fenv_t * - - name: fedisableexcept - standards: - - GNUExtensions - return_type: int - arguments: - - type: int - guard: null - - name: feenableexcept - standards: - - GNUExtensions - return_type: int - arguments: - - type: int - attributes: [] - - name: fegetexcept - standards: - - GNUExtensions - return_type: int - arguments: [] +- name: feclearexcept + standards: + - stdc + return_type: int + arguments: + - type: int +- name: fedisableexcept + standards: + - GNUExtensions + return_type: int + arguments: + - type: int + guard: null +- name: feenableexcept + standards: + - GNUExtensions + return_type: int + arguments: + - type: int + attributes: [] +- name: fegetenv + standards: + - stdc + return_type: int + arguments: + - type: fenv_t * +- name: fegetexcept + standards: + - GNUExtensions + return_type: int + arguments: [] +- name: fegetexceptflag + standards: + - stdc + return_type: int + arguments: + - type: fexcept_t * + - type: int +- name: fegetround + standards: + - stdc + return_type: int + arguments: [] +- name: feholdexcept + standards: + - stdc + return_type: int + arguments: + - type: fenv_t * +- name: feraiseexcept + standards: + - stdc + return_type: int + arguments: + - type: int +- name: fesetenv + standards: + - stdc + return_type: int + arguments: + - type: const fenv_t * +- name: fesetexcept + standards: + - stdc + return_type: int + arguments: + - type: int +- name: fesetexceptflag + standards: + - stdc + return_type: int + arguments: + - type: const fexcept_t * + - type: int +- name: fesetround + standards: + - stdc + return_type: int + arguments: + - type: int +- name: fetestexcept + standards: + - stdc + return_type: int + arguments: + - type: int +- name: fetestexceptflag + standards: + - stdc + return_type: int + arguments: + - type: const fexcept_t * + - type: int +- name: feupdateenv + standards: + - stdc + return_type: int + arguments: + - type: const fenv_t * diff --git a/libc/newhdrgen/yaml/float.yaml b/libc/newhdrgen/yaml/float.yaml index 63639a6e8ed13..36685c08f47f6 100644 --- a/libc/newhdrgen/yaml/float.yaml +++ b/libc/newhdrgen/yaml/float.yaml @@ -1,6 +1,6 @@ header: float.h standards: - - stdc +- stdc macros: [] types: [] enums: [] diff --git a/libc/newhdrgen/yaml/gpu/rpc.yaml b/libc/newhdrgen/yaml/gpu/rpc.yaml index 57473f72c3827..6c97659010a33 100644 --- a/libc/newhdrgen/yaml/gpu/rpc.yaml +++ b/libc/newhdrgen/yaml/gpu/rpc.yaml @@ -4,20 +4,20 @@ types: [] enums: [] objects: [] functions: - - name: rpc_host_call - standards: - - GPUExtensions - return_type: void - arguments: - - type: void * - - type: void * - - type: size_t - - name: rpc_fprintf - standards: - - GPUExtensions - return_type: int - arguments: - - type: ::FILE *__restrict - - type: const char *__restrict - - type: void * - - type: size_t +- name: rpc_fprintf + standards: + - GPUExtensions + return_type: int + arguments: + - type: ::FILE *__restrict + - type: const char *__restrict + - type: void * + - type: size_t +- name: rpc_host_call + standards: + - GPUExtensions + return_type: void + arguments: + - type: void * + - type: void * + - type: size_t diff --git a/libc/newhdrgen/yaml/inttypes.yaml b/libc/newhdrgen/yaml/inttypes.yaml index ad636cc5121a1..96003f171173e 100644 --- a/libc/newhdrgen/yaml/inttypes.yaml +++ b/libc/newhdrgen/yaml/inttypes.yaml @@ -1,36 +1,36 @@ header: inttypes.h macros: [] types: - - type_name: imaxdiv_t +- type_name: imaxdiv_t enums: [] objects: [] functions: - - name: imaxabs - standards: - - stdc - return_type: intmax_t - arguments: - - type: intmax_t - - name: imaxdiv - standards: - - stdc - return_type: imaxdiv_t - arguments: - - type: intmax_t - - type: intmax_t - - name: strtoimax - standards: - - stdc - return_type: intmax_t - arguments: - - type: const char *__restrict - - type: char * *__restrict - - type: int - - name: strtoumax - standards: - - stdc - return_type: uintmax_t - arguments: - - type: const char *__restrict - - type: char * *__restrict - - type: int +- name: imaxabs + standards: + - stdc + return_type: intmax_t + arguments: + - type: intmax_t +- name: imaxdiv + standards: + - stdc + return_type: imaxdiv_t + arguments: + - type: intmax_t + - type: intmax_t +- name: strtoimax + standards: + - stdc + return_type: intmax_t + arguments: + - type: const char *__restrict + - type: char * *__restrict + - type: int +- name: strtoumax + standards: + - stdc + return_type: uintmax_t + arguments: + - type: const char *__restrict + - type: char * *__restrict + - type: int diff --git a/libc/newhdrgen/yaml/limits.yaml b/libc/newhdrgen/yaml/limits.yaml index bf33ed24e7a8d..221dc834b9b27 100644 --- a/libc/newhdrgen/yaml/limits.yaml +++ b/libc/newhdrgen/yaml/limits.yaml @@ -1,6 +1,6 @@ header: limits.h standards: - - stdc +- stdc macros: [] types: [] enums: [] diff --git a/libc/newhdrgen/yaml/math.yaml b/libc/newhdrgen/yaml/math.yaml index 2f1203e581f9a..9e65488a1a3c7 100644 --- a/libc/newhdrgen/yaml/math.yaml +++ b/libc/newhdrgen/yaml/math.yaml @@ -1,2398 +1,2398 @@ header: math.h macros: [] types: - - type_name: float_t - - type_name: double_t - - type_name: float128 +- type_name: float_t +- type_name: double_t +- type_name: float128 enums: [] objects: [] functions: - - name: cbrt - standards: - - stdc - return_type: double - arguments: - - type: double - - name: cbrtf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: copysign - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: copysignf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: copysignl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: ceil - standards: - - stdc - return_type: double - arguments: - - type: double - - name: ceilf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: ceill - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: fabs - standards: - - stdc - return_type: double - arguments: - - type: double - - name: fabsf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: fabsl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: fdim - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fdimf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fdiml - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: floor - standards: - - stdc - return_type: double - arguments: - - type: double - - name: floorf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: floorl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: fmin - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fminf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fminl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fmax - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fmaxf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fmaxl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fmaximum - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fmaximumf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fmaximuml - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fmaximum_num - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fmaximum_numf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fmaximum_numl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fmaximum_mag - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fmaximum_magf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fmaximum_magl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fmaximum_mag_num - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fmaximum_mag_numf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fmaximum_mag_numl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fminimum - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fminimumf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fminimuml - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fminimum_num - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fminimum_numf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fminimum_mag - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fminimum_magf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fminimum_magl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fminimum_mag_num - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fminimum_mag_numf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fminimum_mag_numl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fma - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - type: double - - name: fmaf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - type: float - - name: fmod - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: fmodf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: fmodl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: fmul - standards: - - stdc - return_type: float - arguments: - - type: double - - type: double - - name: fmull - standards: - - stdc - return_type: float - arguments: - - type: long double - - type: long double - - name: dmull - standards: - - stdc - return_type: double - arguments: - - type: long double - - type: long double - - name: frexp - standards: - - stdc - return_type: double - arguments: - - type: double - - type: int * - - name: frexpf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: int * - - name: frexpl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: int * - - name: fromfp - standards: - - stdc - return_type: double - arguments: - - type: double - - type: int - - type: unsigned int - - name: fromfpf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: int - - type: unsigned int - - name: fromfpl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: int - - type: unsigned int - - name: fromfpx - standards: - - stdc - return_type: double - arguments: - - type: double - - type: int - - type: unsigned int - - name: fromfpxf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: int - - type: unsigned int - - name: fromfpxl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: int - - type: unsigned int - - name: ufromfp - standards: - - stdc - return_type: double - arguments: - - type: double - - type: int - - type: unsigned int - - name: ufromfpf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: int - - type: unsigned int - - name: ufromfpl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: int - - type: unsigned int - - name: ufromfpx - standards: - - stdc - return_type: double - arguments: - - type: double - - type: int - - type: unsigned int - - name: ufromfpxf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: int - - type: unsigned int - - name: ufromfpxl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: int - - type: unsigned int - - name: hypot - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: hypotf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: ilogb - standards: - - stdc - return_type: int - arguments: - - type: double - - name: ilogbf - standards: - - stdc - return_type: int - arguments: - - type: float - - name: ilogbl - standards: - - stdc - return_type: int - arguments: - - type: long double - - name: isnan - standards: - - BSDExtensions - return_type: int - arguments: - - type: double - - name: isnanf - standards: - - BSDExtensions - return_type: int - arguments: - - type: float - - name: isnanl - standards: - - BSDExtensions - return_type: int - arguments: - - type: long double - - name: llogb - standards: - - stdc - return_type: long - arguments: - - type: double - - name: llogbf - standards: - - stdc - return_type: long - arguments: - - type: float - - name: llogbl - standards: - - stdc - return_type: long - arguments: - - type: long double - - name: ldexp - standards: - - stdc - return_type: double - arguments: - - type: double - - type: int - - name: ldexpf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: int - - name: ldexpl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: int - - name: log10 - standards: - - stdc - return_type: double - arguments: - - type: double - - name: log10f - standards: - - stdc - return_type: float - arguments: - - type: float - - name: log1p - standards: - - stdc - return_type: double - arguments: - - type: double - - name: log1pf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: log2 - standards: - - stdc - return_type: double - arguments: - - type: double - - name: log2f - standards: - - stdc - return_type: float - arguments: - - type: float - - name: log - standards: - - stdc - return_type: double - arguments: - - type: double - - name: logf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: logb - standards: - - stdc - return_type: double - arguments: - - type: double - - name: logbf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: logbl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: modf - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double * - - name: modff - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float * - - name: modfl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double * - - name: cos - standards: - - stdc - return_type: double - arguments: - - type: double - - name: cosf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: sin - standards: - - stdc - return_type: double - arguments: - - type: double - - name: sincosf - standards: - - gnu - return_type: void - arguments: - - type: float - - type: float * - - type: float * - - name: sinf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: tan - standards: - - stdc - return_type: double - arguments: - - type: double - - name: tanf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: erff - standards: - - stdc - return_type: float - arguments: - - type: float - - name: exp - standards: - - stdc - return_type: double - arguments: - - type: double - - name: expf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: exp2 - standards: - - stdc - return_type: double - arguments: - - type: double - - name: exp2f - standards: - - stdc - return_type: float - arguments: - - type: float - - name: exp2m1f - standards: - - stdc - return_type: float - arguments: - - type: float - - name: expm1 - standards: - - stdc - return_type: double - arguments: - - type: double - - name: expm1f - standards: - - stdc - return_type: float - arguments: - - type: float - - name: exp10 - standards: - - stdc - return_type: double - arguments: - - type: double - - name: exp10f - standards: - - stdc - return_type: float - arguments: - - type: float - - name: remainder - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: remainderf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: remainderl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: remainderf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: remquo - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - type: int * - - name: remquof - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - type: int * - - name: remquol - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - type: int * - - name: round - standards: - - stdc - return_type: double - arguments: - - type: double - - name: roundf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: roundl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: roundeven - standards: - - stdc - return_type: double - arguments: - - type: double - - name: roundevenf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: roundevenl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: lround - standards: - - stdc - return_type: long - arguments: - - type: double - - name: lroundf - standards: - - stdc - return_type: long - arguments: - - type: float - - name: lroundl - standards: - - stdc - return_type: long - arguments: - - type: long double - - name: llround - standards: - - stdc - return_type: long long - arguments: - - type: double - - name: llroundf - standards: - - stdc - return_type: long long - arguments: - - type: float - - name: llroundl - standards: - - stdc - return_type: long long - arguments: - - type: long double - - name: rint - standards: - - stdc - return_type: double - arguments: - - type: double - - name: rintf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: rintl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: lrint - standards: - - stdc - return_type: long - arguments: - - type: double - - name: lrintf - standards: - - stdc - return_type: long - arguments: - - type: float - - name: lrintl - standards: - - stdc - return_type: long - arguments: - - type: long double - - name: llrint - standards: - - stdc - return_type: long long - arguments: - - type: double - - name: llrintf - standards: - - stdc - return_type: long long - arguments: - - type: float - - name: llrintl - standards: - - stdc - return_type: long long - arguments: - - type: long double - - name: sqrt - standards: - - stdc - return_type: double - arguments: - - type: double - - name: sqrtf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: sqrtl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: trunc - standards: - - stdc - return_type: double - arguments: - - type: double - - name: truncf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: truncl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: nearbyint - standards: - - stdc - return_type: double - arguments: - - type: double - - name: nearbyintf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: nearbyintl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: nextafterf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: nextafter - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: nextafterl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: nexttowardf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: long double - - name: nexttoward - standards: - - stdc - return_type: double - arguments: - - type: double - - type: long double - - name: nexttowardl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double - - name: nextdown - standards: - - stdc - return_type: double - arguments: - - type: double - - name: nextdownf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: nextdownl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: nextup - standards: - - stdc - return_type: double - arguments: - - type: double - - name: nextupf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: nextupl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: powf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: pow - standards: - - stdc - return_type: double - arguments: - - type: double - - type: double - - name: powi - standards: llvm_libc_ext - return_type: double - arguments: - - type: double - - type: int - - name: powif - standards: llvm_libc_ext - return_type: float - arguments: - - type: float - - type: int - - name: coshf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: sinhf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: tanhf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: acosf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: asinf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: asin - standards: - - stdc - return_type: double - arguments: - - type: double - - name: atanf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: atan2f - standards: - - stdc - return_type: float - arguments: - - type: float - - type: float - - name: acoshf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: asinhf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: atanhf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: scalbn - standards: - - stdc - return_type: double - arguments: - - type: double - - type: int - - name: scalbnf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: int - - name: scalbnl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: int - - name: nanf - standards: - - stdc - return_type: float - arguments: - - type: const char * - - name: nan - standards: - - stdc - return_type: double - arguments: - - type: const char * - - name: nanl - standards: - - stdc - return_type: long double - arguments: - - type: const char * - - name: canonicalize - standards: - - stdc - return_type: int - arguments: - - type: double - - type: double - - name: canonicalizef - standards: - - stdc - return_type: int - arguments: - - type: float - - type: float - - name: canonicalizel - standards: - - stdc - return_type: int - arguments: - - type: long double - - type: long double - - name: canonicalizef128 - standards: - - stdc - return_type: int - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: canonicalizef16 - standards: - - stdc - return_type: int - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: ceilf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: copysignf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16add - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: double - - type: double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16addf - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: float - - type: float - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16addl - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: long double - - type: long double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16div - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: double - - type: double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16divf - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: float - - type: float - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16divl - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: long double - - type: long double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16fma - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: double - - type: double - - type: double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16fmaf - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: float - - type: float - - type: float - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16fmal - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: long double - - type: long double - - type: long double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16mul - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: double - - type: double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16mulf - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: float - - type: float - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16mull - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: long double - - type: long double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16sqrt - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16sqrtf - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: float - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16sqrtl - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: long double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16sub - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: double - - type: double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16subf - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: float - - type: float - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16subl - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: long double - - type: long double - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fabsf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fdimf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: floorf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fmaxf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fmaximum_mag_numf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fmaximum_magf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fmaximum_numf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fmaximumf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fminf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fminimum_mag_numf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fminimum_magf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fminimum_numf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fminimumf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fmodf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: frexpf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: int * - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fromfpf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: int - - type: unsigned int - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fromfpxf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: int - - type: unsigned int - guard: LIBC_TYPES_HAS_FLOAT16 - - name: fsub - standards: - - stdc - return_type: float - arguments: - - type: double - - type: double - - name: fsubl - standards: - - stdc - return_type: float - arguments: - - type: long double - - type: long double - - name: fsubf128 - standards: - - llvm_libc_ext - return_type: float - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: getpayload - standards: - - stdc - return_type: double - arguments: - - type: double * - - name: getpayloadl - standards: - - stdc - return_type: long double - arguments: - - type: long double * - - name: getpayloadf - standards: - - stdc - return_type: float - arguments: - - type: float * - - name: getpayloadf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 * - guard: LIBC_TYPES_HAS_FLOAT16 - - name: getpayloadf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 * - guard: LIBC_TYPES_HAS_FLOAT128 - - name: ilogbf16 - standards: - - stdc - return_type: int - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: ldexpf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: int - guard: LIBC_TYPES_HAS_FLOAT16 - - name: llogbf16 - standards: - - stdc - return_type: long - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: llrintf16 - standards: - - stdc - return_type: long long - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: llroundf16 - standards: - - stdc - return_type: long long - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: logbf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: lrintf16 - standards: - - stdc - return_type: long - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: lroundf16 - standards: - - stdc - return_type: long - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: modff16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 * - guard: LIBC_TYPES_HAS_FLOAT16 - - name: nanf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: const char * - guard: LIBC_TYPES_HAS_FLOAT16 - - name: nearbyintf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: nextafterf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: nextdownf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: nexttowardf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: nextupf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: remainderf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: remquof16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: _Float16 - - type: int * - guard: LIBC_TYPES_HAS_FLOAT16 - - name: rintf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: roundevenf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: roundf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: scalblnf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: long - guard: LIBC_TYPES_HAS_FLOAT16 - - name: scalbnf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: int - guard: LIBC_TYPES_HAS_FLOAT16 - - name: setpayload - standards: - - stdc - return_type: int - arguments: - - type: double * - - type: double - - name: setpayloadf - standards: - - stdc - return_type: int - arguments: - - type: float * - - type: float - - name: setpayloadl - standards: - - stdc - return_type: int - arguments: - - type: long double * - - type: long double - - name: setpayloadf16 - standards: - - stdc - return_type: int - arguments: - - type: _Float16 * - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: setpayloadf128 - standards: - - stdc - return_type: int - arguments: - - type: float128 * - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: setpayloadsig - standards: - - stdc - return_type: double - arguments: - - type: double * - - type: double - - name: setpayloadsigf - standards: - - stdc - return_type: int - arguments: - - type: float * - - type: float - - name: setpayloadsigl - standards: - - stdc - return_type: int - arguments: - - type: long double * - - type: long double - - name: setpayloadsigf16 - standards: - - stdc - return_type: int - arguments: - - type: _Float16 * - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: setpayloadsigf128 - standards: - - stdc - return_type: int - arguments: - - type: float128 * - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: totalorderf16 - standards: - - stdc - return_type: int - arguments: - - type: _Float16 * - - type: _Float16 * - guard: LIBC_TYPES_HAS_FLOAT16 - - name: totalordermagf16 - standards: - - stdc - return_type: int - arguments: - - type: _Float16 * - - type: _Float16 * - guard: LIBC_TYPES_HAS_FLOAT16 - - name: truncf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - guard: LIBC_TYPES_HAS_FLOAT16 - - name: ufromfpf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: int - - type: unsigned int - guard: LIBC_TYPES_HAS_FLOAT16 - - name: ufromfpxf16 - standards: - - stdc - return_type: _Float16 - arguments: - - type: _Float16 - - type: int - - type: unsigned int - guard: LIBC_TYPES_HAS_FLOAT16 - - name: f16addf128 - standards: - - stdc - return_type: _Float16 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 - - name: f16divf128 - standards: - - stdc - return_type: _Float16 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 - - name: f16fmaf128 - standards: - - stdc - return_type: _Float16 - arguments: - - type: float128 - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 - - name: f16mulf128 - standards: - - stdc - return_type: _Float16 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 - - name: f16sqrtf128 - standards: - - llvm_libc_ext - return_type: _Float16 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 - - name: f16subf128 - standards: - - stdc - return_type: _Float16 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 - - name: ceilf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: copysignf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fabsf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fdimf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fdiv - standards: - - stdc - return_type: float - arguments: - - type: double - - type: double - - name: fdivl - standards: - - stdc - return_type: float - arguments: - - type: long double - - type: long double - - name: fdivf128 - standards: - - llvm_libc_ext - return_type: float - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: ffma - standards: - - stdc - return_type: float - arguments: - - type: double - - type: double - - type: double - - name: ffmal - standards: - - stdc - return_type: float - arguments: - - type: long double - - type: long double - - type: long double - - name: ffmaf128 - standards: - - llvm_libc_ext - return_type: float - arguments: - - type: float128 - - type: float128 - - type: float128 - guards: LIBC_TYPES_HAS_FLOAT128 - - name: floorf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fmaxf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fmaximum_mag_numf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fmaximum_magf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fmaximum_numf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fmaximumf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fminf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fminimum_mag_numf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fminimum_magf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fminimum_numf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fminimumf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fmodf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fmulf128 - standards: - - llvm_libc_ext - return_type: float - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: dmulf128 - standards: - - llvm_libc_ext - return_type: double - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: frexpf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: int * - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fromfpf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: int - - type: unsigned int - guard: LIBC_TYPES_HAS_FLOAT128 - - name: fromfpxf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: int - - type: unsigned int - guard: LIBC_TYPES_HAS_FLOAT128 - - name: ilogbf128 - standards: - - stdc - return_type: int - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: ldexpf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: int - guard: LIBC_TYPES_HAS_FLOAT128 - - name: llogbf128 - standards: - - stdc - return_type: long - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: llrintf128 - standards: - - stdc - return_type: long long - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: llroundf128 - standards: - - stdc - return_type: long long - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: logbf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: lrintf128 - standards: - - stdc - return_type: long - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: lroundf128 - standards: - - stdc - return_type: long - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: modff128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 * - guard: LIBC_TYPES_HAS_FLOAT128 - - name: nanf128 - standards: - - stdc - return_type: float128 - arguments: - - type: const char * - guard: LIBC_TYPES_HAS_FLOAT128 - - name: nearbyintf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: nextafterf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: nextdownf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: nextupf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: remquof128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: float128 - - type: int * - guard: LIBC_TYPES_HAS_FLOAT128 - - name: rintf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: roundevenf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: roundf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: scalbnf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: int - guard: LIBC_TYPES_HAS_FLOAT128 - - name: sqrtf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: truncf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - guard: LIBC_TYPES_HAS_FLOAT128 - - name: ufromfpf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: int - - type: unsigned int - guard: LIBC_TYPES_HAS_FLOAT128 - - name: ufromfpxf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: int - - type: unsigned int - guard: LIBC_TYPES_HAS_FLOAT128 - - name: scalbln - standards: - - stdc - return_type: double - arguments: - - type: double - - type: long - - name: scalblnl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long - - name: scalblnf - standards: - - stdc - return_type: float - arguments: - - type: float - - type: long - - name: scalblnf16 - standards: - - stdc - return_type: float16 - arguments: - - type: float16 - - type: long - guard: LIBC_TYPES_HAS_FLOAT16 - - name: scalblnf128 - standards: - - stdc - return_type: float128 - arguments: - - type: float128 - - type: long - guard: LIBC_TYPES_HAS_FLOAT128 - - name: lgamma - standards: - - stdc - return_type: double - arguments: - - type: double - - name: lgammaf - standards: - - stdc - return_type: float - arguments: - - type: float - - name: lgammal - standards: - - stdc - return_type: long double - arguments: - - type: long double - - name: lgamma_r - standards: - - gnu - return_type: double - arguments: - - type: double - - type: int * - - name: lgammaf_r - standards: - - gnu - return_type: float - arguments: - - type: float - - type: int * - - name: lgammal_r - standards: - - gnu - return_type: long double - arguments: - - type: long double - - type: int * - - name: ddivl - standards: - - stdc - return_type: long double - arguments: - - type: long double - - type: long double +- name: acosf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: acoshf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: asin + standards: + - stdc + return_type: double + arguments: + - type: double +- name: asinf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: asinhf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: atan2f + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: atanf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: atanhf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: canonicalize + standards: + - stdc + return_type: int + arguments: + - type: double + - type: double +- name: canonicalizef + standards: + - stdc + return_type: int + arguments: + - type: float + - type: float +- name: canonicalizef128 + standards: + - stdc + return_type: int + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: canonicalizef16 + standards: + - stdc + return_type: int + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: canonicalizel + standards: + - stdc + return_type: int + arguments: + - type: long double + - type: long double +- name: cbrt + standards: + - stdc + return_type: double + arguments: + - type: double +- name: cbrtf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: ceil + standards: + - stdc + return_type: double + arguments: + - type: double +- name: ceilf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: ceilf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: ceilf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: ceill + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: copysign + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: copysignf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: copysignf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: copysignf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: copysignl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: cos + standards: + - stdc + return_type: double + arguments: + - type: double +- name: cosf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: coshf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: ddivl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: dmulf128 + standards: + - llvm_libc_ext + return_type: double + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: dmull + standards: + - stdc + return_type: double + arguments: + - type: long double + - type: long double +- name: erff + standards: + - stdc + return_type: float + arguments: + - type: float +- name: exp + standards: + - stdc + return_type: double + arguments: + - type: double +- name: exp10 + standards: + - stdc + return_type: double + arguments: + - type: double +- name: exp10f + standards: + - stdc + return_type: float + arguments: + - type: float +- name: exp2 + standards: + - stdc + return_type: double + arguments: + - type: double +- name: exp2f + standards: + - stdc + return_type: float + arguments: + - type: float +- name: exp2m1f + standards: + - stdc + return_type: float + arguments: + - type: float +- name: expf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: expm1 + standards: + - stdc + return_type: double + arguments: + - type: double +- name: expm1f + standards: + - stdc + return_type: float + arguments: + - type: float +- name: f16add + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: double + - type: double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16addf + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: float + - type: float + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16addf128 + standards: + - stdc + return_type: _Float16 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 +- name: f16addl + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: long double + - type: long double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16div + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: double + - type: double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16divf + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: float + - type: float + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16divf128 + standards: + - stdc + return_type: _Float16 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 +- name: f16divl + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: long double + - type: long double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16fma + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: double + - type: double + - type: double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16fmaf + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: float + - type: float + - type: float + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16fmaf128 + standards: + - stdc + return_type: _Float16 + arguments: + - type: float128 + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 +- name: f16fmal + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: long double + - type: long double + - type: long double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16mul + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: double + - type: double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16mulf + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: float + - type: float + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16mulf128 + standards: + - stdc + return_type: _Float16 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 +- name: f16mull + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: long double + - type: long double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16sqrt + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16sqrtf + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: float + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16sqrtf128 + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 +- name: f16sqrtl + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: long double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16sub + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: double + - type: double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16subf + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: float + - type: float + guard: LIBC_TYPES_HAS_FLOAT16 +- name: f16subf128 + standards: + - stdc + return_type: _Float16 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128 +- name: f16subl + standards: + - llvm_libc_ext + return_type: _Float16 + arguments: + - type: long double + - type: long double + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fabs + standards: + - stdc + return_type: double + arguments: + - type: double +- name: fabsf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: fabsf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fabsf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fabsl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: fdim + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fdimf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fdimf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fdimf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fdiml + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fdiv + standards: + - stdc + return_type: float + arguments: + - type: double + - type: double +- name: fdivf128 + standards: + - llvm_libc_ext + return_type: float + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fdivl + standards: + - stdc + return_type: float + arguments: + - type: long double + - type: long double +- name: ffma + standards: + - stdc + return_type: float + arguments: + - type: double + - type: double + - type: double +- name: ffmaf128 + standards: + - llvm_libc_ext + return_type: float + arguments: + - type: float128 + - type: float128 + - type: float128 + guards: LIBC_TYPES_HAS_FLOAT128 +- name: ffmal + standards: + - stdc + return_type: float + arguments: + - type: long double + - type: long double + - type: long double +- name: floor + standards: + - stdc + return_type: double + arguments: + - type: double +- name: floorf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: floorf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: floorf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: floorl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: fma + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double + - type: double +- name: fmaf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float + - type: float +- name: fmax + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fmaxf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fmaxf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fmaxf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fmaximum + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fmaximum_mag + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fmaximum_mag_num + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fmaximum_mag_numf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fmaximum_mag_numf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fmaximum_mag_numf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fmaximum_mag_numl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fmaximum_magf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fmaximum_magf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fmaximum_magf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fmaximum_magl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fmaximum_num + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fmaximum_numf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fmaximum_numf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fmaximum_numf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fmaximum_numl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fmaximumf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fmaximumf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fmaximumf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fmaximuml + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fmaxl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fmin + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fminf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fminf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fminf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fminimum + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fminimum_mag + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fminimum_mag_num + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fminimum_mag_numf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fminimum_mag_numf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fminimum_mag_numf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fminimum_mag_numl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fminimum_magf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fminimum_magf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fminimum_magf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fminimum_magl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fminimum_num + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fminimum_numf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fminimum_numf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fminimum_numf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fminimumf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fminimumf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fminimumf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fminimuml + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fminl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fmod + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: fmodf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: fmodf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fmodf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fmodl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: fmul + standards: + - stdc + return_type: float + arguments: + - type: double + - type: double +- name: fmulf128 + standards: + - llvm_libc_ext + return_type: float + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fmull + standards: + - stdc + return_type: float + arguments: + - type: long double + - type: long double +- name: frexp + standards: + - stdc + return_type: double + arguments: + - type: double + - type: int * +- name: frexpf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: int * +- name: frexpf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: int * + guard: LIBC_TYPES_HAS_FLOAT128 +- name: frexpf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: int * + guard: LIBC_TYPES_HAS_FLOAT16 +- name: frexpl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: int * +- name: fromfp + standards: + - stdc + return_type: double + arguments: + - type: double + - type: int + - type: unsigned int +- name: fromfpf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: int + - type: unsigned int +- name: fromfpf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: int + - type: unsigned int + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fromfpf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: int + - type: unsigned int + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fromfpl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: int + - type: unsigned int +- name: fromfpx + standards: + - stdc + return_type: double + arguments: + - type: double + - type: int + - type: unsigned int +- name: fromfpxf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: int + - type: unsigned int +- name: fromfpxf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: int + - type: unsigned int + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fromfpxf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: int + - type: unsigned int + guard: LIBC_TYPES_HAS_FLOAT16 +- name: fromfpxl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: int + - type: unsigned int +- name: fsub + standards: + - stdc + return_type: float + arguments: + - type: double + - type: double +- name: fsubf128 + standards: + - llvm_libc_ext + return_type: float + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: fsubl + standards: + - stdc + return_type: float + arguments: + - type: long double + - type: long double +- name: getpayload + standards: + - stdc + return_type: double + arguments: + - type: double * +- name: getpayloadf + standards: + - stdc + return_type: float + arguments: + - type: float * +- name: getpayloadf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 * + guard: LIBC_TYPES_HAS_FLOAT128 +- name: getpayloadf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 * + guard: LIBC_TYPES_HAS_FLOAT16 +- name: getpayloadl + standards: + - stdc + return_type: long double + arguments: + - type: long double * +- name: hypot + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: hypotf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: ilogb + standards: + - stdc + return_type: int + arguments: + - type: double +- name: ilogbf + standards: + - stdc + return_type: int + arguments: + - type: float +- name: ilogbf128 + standards: + - stdc + return_type: int + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: ilogbf16 + standards: + - stdc + return_type: int + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: ilogbl + standards: + - stdc + return_type: int + arguments: + - type: long double +- name: isnan + standards: + - BSDExtensions + return_type: int + arguments: + - type: double +- name: isnanf + standards: + - BSDExtensions + return_type: int + arguments: + - type: float +- name: isnanl + standards: + - BSDExtensions + return_type: int + arguments: + - type: long double +- name: ldexp + standards: + - stdc + return_type: double + arguments: + - type: double + - type: int +- name: ldexpf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: int +- name: ldexpf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: int + guard: LIBC_TYPES_HAS_FLOAT128 +- name: ldexpf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: int + guard: LIBC_TYPES_HAS_FLOAT16 +- name: ldexpl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: int +- name: lgamma + standards: + - stdc + return_type: double + arguments: + - type: double +- name: lgamma_r + standards: + - gnu + return_type: double + arguments: + - type: double + - type: int * +- name: lgammaf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: lgammaf_r + standards: + - gnu + return_type: float + arguments: + - type: float + - type: int * +- name: lgammal + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: lgammal_r + standards: + - gnu + return_type: long double + arguments: + - type: long double + - type: int * +- name: llogb + standards: + - stdc + return_type: long + arguments: + - type: double +- name: llogbf + standards: + - stdc + return_type: long + arguments: + - type: float +- name: llogbf128 + standards: + - stdc + return_type: long + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: llogbf16 + standards: + - stdc + return_type: long + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: llogbl + standards: + - stdc + return_type: long + arguments: + - type: long double +- name: llrint + standards: + - stdc + return_type: long long + arguments: + - type: double +- name: llrintf + standards: + - stdc + return_type: long long + arguments: + - type: float +- name: llrintf128 + standards: + - stdc + return_type: long long + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: llrintf16 + standards: + - stdc + return_type: long long + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: llrintl + standards: + - stdc + return_type: long long + arguments: + - type: long double +- name: llround + standards: + - stdc + return_type: long long + arguments: + - type: double +- name: llroundf + standards: + - stdc + return_type: long long + arguments: + - type: float +- name: llroundf128 + standards: + - stdc + return_type: long long + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: llroundf16 + standards: + - stdc + return_type: long long + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: llroundl + standards: + - stdc + return_type: long long + arguments: + - type: long double +- name: log + standards: + - stdc + return_type: double + arguments: + - type: double +- name: log10 + standards: + - stdc + return_type: double + arguments: + - type: double +- name: log10f + standards: + - stdc + return_type: float + arguments: + - type: float +- name: log1p + standards: + - stdc + return_type: double + arguments: + - type: double +- name: log1pf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: log2 + standards: + - stdc + return_type: double + arguments: + - type: double +- name: log2f + standards: + - stdc + return_type: float + arguments: + - type: float +- name: logb + standards: + - stdc + return_type: double + arguments: + - type: double +- name: logbf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: logbf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: logbf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: logbl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: logf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: lrint + standards: + - stdc + return_type: long + arguments: + - type: double +- name: lrintf + standards: + - stdc + return_type: long + arguments: + - type: float +- name: lrintf128 + standards: + - stdc + return_type: long + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: lrintf16 + standards: + - stdc + return_type: long + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: lrintl + standards: + - stdc + return_type: long + arguments: + - type: long double +- name: lround + standards: + - stdc + return_type: long + arguments: + - type: double +- name: lroundf + standards: + - stdc + return_type: long + arguments: + - type: float +- name: lroundf128 + standards: + - stdc + return_type: long + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: lroundf16 + standards: + - stdc + return_type: long + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: lroundl + standards: + - stdc + return_type: long + arguments: + - type: long double +- name: modf + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double * +- name: modff + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float * +- name: modff128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 * + guard: LIBC_TYPES_HAS_FLOAT128 +- name: modff16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 * + guard: LIBC_TYPES_HAS_FLOAT16 +- name: modfl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double * +- name: nan + standards: + - stdc + return_type: double + arguments: + - type: const char * +- name: nanf + standards: + - stdc + return_type: float + arguments: + - type: const char * +- name: nanf128 + standards: + - stdc + return_type: float128 + arguments: + - type: const char * + guard: LIBC_TYPES_HAS_FLOAT128 +- name: nanf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: const char * + guard: LIBC_TYPES_HAS_FLOAT16 +- name: nanl + standards: + - stdc + return_type: long double + arguments: + - type: const char * +- name: nearbyint + standards: + - stdc + return_type: double + arguments: + - type: double +- name: nearbyintf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: nearbyintf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: nearbyintf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: nearbyintl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: nextafter + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: nextafterf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: nextafterf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: nextafterf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: nextafterl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: nextdown + standards: + - stdc + return_type: double + arguments: + - type: double +- name: nextdownf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: nextdownf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: nextdownf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: nextdownl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: nexttoward + standards: + - stdc + return_type: double + arguments: + - type: double + - type: long double +- name: nexttowardf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: long double +- name: nexttowardf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: nexttowardl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: nextup + standards: + - stdc + return_type: double + arguments: + - type: double +- name: nextupf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: nextupf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: nextupf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: nextupl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: pow + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: powf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: powi + standards: llvm_libc_ext + return_type: double + arguments: + - type: double + - type: int +- name: powif + standards: llvm_libc_ext + return_type: float + arguments: + - type: float + - type: int +- name: remainder + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double +- name: remainderf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float +- name: remainderf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: remainderf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: remainderl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double +- name: remquo + standards: + - stdc + return_type: double + arguments: + - type: double + - type: double + - type: int * +- name: remquof + standards: + - stdc + return_type: float + arguments: + - type: float + - type: float + - type: int * +- name: remquof128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: float128 + - type: int * + guard: LIBC_TYPES_HAS_FLOAT128 +- name: remquof16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: _Float16 + - type: int * + guard: LIBC_TYPES_HAS_FLOAT16 +- name: remquol + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long double + - type: int * +- name: rint + standards: + - stdc + return_type: double + arguments: + - type: double +- name: rintf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: rintf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: rintf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: rintl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: round + standards: + - stdc + return_type: double + arguments: + - type: double +- name: roundeven + standards: + - stdc + return_type: double + arguments: + - type: double +- name: roundevenf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: roundevenf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: roundevenf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: roundevenl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: roundf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: roundf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: roundf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: roundl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: scalbln + standards: + - stdc + return_type: double + arguments: + - type: double + - type: long +- name: scalblnf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: long +- name: scalblnf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: long + guard: LIBC_TYPES_HAS_FLOAT128 +- name: scalblnf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: long + guard: LIBC_TYPES_HAS_FLOAT16 +- name: scalblnf16 + standards: + - stdc + return_type: float16 + arguments: + - type: float16 + - type: long + guard: LIBC_TYPES_HAS_FLOAT16 +- name: scalblnl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: long +- name: scalbn + standards: + - stdc + return_type: double + arguments: + - type: double + - type: int +- name: scalbnf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: int +- name: scalbnf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: int + guard: LIBC_TYPES_HAS_FLOAT128 +- name: scalbnf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: int + guard: LIBC_TYPES_HAS_FLOAT16 +- name: scalbnl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: int +- name: setpayload + standards: + - stdc + return_type: int + arguments: + - type: double * + - type: double +- name: setpayloadf + standards: + - stdc + return_type: int + arguments: + - type: float * + - type: float +- name: setpayloadf128 + standards: + - stdc + return_type: int + arguments: + - type: float128 * + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: setpayloadf16 + standards: + - stdc + return_type: int + arguments: + - type: _Float16 * + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: setpayloadl + standards: + - stdc + return_type: int + arguments: + - type: long double * + - type: long double +- name: setpayloadsig + standards: + - stdc + return_type: double + arguments: + - type: double * + - type: double +- name: setpayloadsigf + standards: + - stdc + return_type: int + arguments: + - type: float * + - type: float +- name: setpayloadsigf128 + standards: + - stdc + return_type: int + arguments: + - type: float128 * + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: setpayloadsigf16 + standards: + - stdc + return_type: int + arguments: + - type: _Float16 * + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: setpayloadsigl + standards: + - stdc + return_type: int + arguments: + - type: long double * + - type: long double +- name: sin + standards: + - stdc + return_type: double + arguments: + - type: double +- name: sincosf + standards: + - gnu + return_type: void + arguments: + - type: float + - type: float * + - type: float * +- name: sinf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: sinhf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: sqrt + standards: + - stdc + return_type: double + arguments: + - type: double +- name: sqrtf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: sqrtf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: sqrtl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: tan + standards: + - stdc + return_type: double + arguments: + - type: double +- name: tanf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: tanhf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: totalorderf16 + standards: + - stdc + return_type: int + arguments: + - type: _Float16 * + - type: _Float16 * + guard: LIBC_TYPES_HAS_FLOAT16 +- name: totalordermagf16 + standards: + - stdc + return_type: int + arguments: + - type: _Float16 * + - type: _Float16 * + guard: LIBC_TYPES_HAS_FLOAT16 +- name: trunc + standards: + - stdc + return_type: double + arguments: + - type: double +- name: truncf + standards: + - stdc + return_type: float + arguments: + - type: float +- name: truncf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + guard: LIBC_TYPES_HAS_FLOAT128 +- name: truncf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + guard: LIBC_TYPES_HAS_FLOAT16 +- name: truncl + standards: + - stdc + return_type: long double + arguments: + - type: long double +- name: ufromfp + standards: + - stdc + return_type: double + arguments: + - type: double + - type: int + - type: unsigned int +- name: ufromfpf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: int + - type: unsigned int +- name: ufromfpf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: int + - type: unsigned int + guard: LIBC_TYPES_HAS_FLOAT128 +- name: ufromfpf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: int + - type: unsigned int + guard: LIBC_TYPES_HAS_FLOAT16 +- name: ufromfpl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: int + - type: unsigned int +- name: ufromfpx + standards: + - stdc + return_type: double + arguments: + - type: double + - type: int + - type: unsigned int +- name: ufromfpxf + standards: + - stdc + return_type: float + arguments: + - type: float + - type: int + - type: unsigned int +- name: ufromfpxf128 + standards: + - stdc + return_type: float128 + arguments: + - type: float128 + - type: int + - type: unsigned int + guard: LIBC_TYPES_HAS_FLOAT128 +- name: ufromfpxf16 + standards: + - stdc + return_type: _Float16 + arguments: + - type: _Float16 + - type: int + - type: unsigned int + guard: LIBC_TYPES_HAS_FLOAT16 +- name: ufromfpxl + standards: + - stdc + return_type: long double + arguments: + - type: long double + - type: int + - type: unsigned int diff --git a/libc/newhdrgen/yaml/pthread.yaml b/libc/newhdrgen/yaml/pthread.yaml index f3c59ee44943b..7849c93b4fc4a 100644 --- a/libc/newhdrgen/yaml/pthread.yaml +++ b/libc/newhdrgen/yaml/pthread.yaml @@ -1,433 +1,433 @@ header: pthread.h macros: [] types: - - type_name: pthread_t - - type_name: pthread_once_t - - type_name: pthread_mutex_t - - type_name: pthread_mutexattr_t - - type_name: pthread_key_t - - type_name: pthread_condattr_t - - type_name: __pthread_tss_dtor_t - - type_name: pthread_rwlock_t - - type_name: pthread_rwlockattr_t - - type_name: pthread_attr_t - - type_name: __pthread_start_t - - type_name: __pthread_once_func_t - - type_name: __atfork_callback_t - - type_name: pthread_spinlock_t +- type_name: pthread_t +- type_name: pthread_once_t +- type_name: pthread_mutex_t +- type_name: pthread_mutexattr_t +- type_name: pthread_key_t +- type_name: pthread_condattr_t +- type_name: __pthread_tss_dtor_t +- type_name: pthread_rwlock_t +- type_name: pthread_rwlockattr_t +- type_name: pthread_attr_t +- type_name: __pthread_start_t +- type_name: __pthread_once_func_t +- type_name: __atfork_callback_t +- type_name: pthread_spinlock_t enums: [] functions: - - name: pthread_atfork - standards: - - POSIX - return_type: int - arguments: - - type: __atfork_callback_t - - type: __atfork_callback_t - - type: __atfork_callback_t - - name: pthread_attr_destroy - standards: - - POSIX - return_type: int - arguments: - - type: pthread_attr_t * - - name: pthread_attr_init - standards: - - POSIX - return_type: int - arguments: - - type: pthread_attr_t * - - name: pthread_attr_getdetachstate - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_attr_t * - - type: int * - - name: pthread_attr_getguardsize - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_attr_t *__restrict - - type: size_t *__restrict - - name: pthread_attr_getstack - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_attr_t *__restrict - - type: void **__restrict - - type: size_t *__restrict - - name: pthread_attr_getstacksize - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_attr_t *__restrict - - type: size_t *__restrict - - name: pthread_attr_setdetachstate - standards: - - POSIX - return_type: int - arguments: - - type: pthread_attr_t * - - type: int - - name: pthread_attr_setguardsize - standards: - - POSIX - return_type: int - arguments: - - type: pthread_attr_t * - - type: size_t - - name: pthread_attr_setstack - standards: - - POSIX - return_type: int - arguments: - - type: pthread_attr_t * - - type: void * - - type: size_t - - name: pthread_attr_setstacksize - standards: - - POSIX - return_type: int - arguments: - - type: pthread_attr_t * - - type: size_t - - name: pthread_condattr_destroy - standards: - - POSIX - return_type: int - arguments: - - type: pthread_condattr_t * - - name: pthread_condattr_getclock - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_condattr_t *__restrict - - type: clockid_t *__restrict - - name: pthread_condattr_getpshared - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_condattr_t *__restrict - - type: int *__restrict - - name: pthread_condattr_init - standards: - - POSIX - return_type: int - arguments: - - type: pthread_condattr_t * - - name: pthread_condattr_setclock - standards: - - POSIX - return_type: int - arguments: - - type: pthread_condattr_t * - - type: clockid_t - - name: pthread_condattr_setpshared - standards: - - POSIX - return_type: int - arguments: - - type: pthread_condattr_t * - - type: int - - name: pthread_create - standards: - - POSIX - return_type: int - arguments: - - type: pthread_t *__restrict - - type: const pthread_attr_t *__restrict - - type: __pthread_start_t - - type: void * - - name: pthread_detach - standards: - - POSIX - return_type: int - arguments: - - type: pthread_t - - name: pthread_equal - standards: - - POSIX - return_type: int - arguments: - - type: pthread_t - - type: pthread_t - - name: pthread_exit - standards: - - POSIX - return_type: _Noreturn void - arguments: - - type: void * - - name: pthread_getname_np - standards: - - GNUExtensions - return_type: int - arguments: - - type: pthread_t - - type: char * - - type: size_t - - name: pthread_getspecific - standards: - - POSIX - return_type: void * - arguments: - - type: pthread_key_t - - name: pthread_join - standards: - - POSIX - return_type: int - arguments: - - type: pthread_t - - type: void ** - - name: pthread_key_create - standards: - - POSIX - return_type: int - arguments: - - type: pthread_key_t * - - type: __pthread_tss_dtor_t - - name: pthread_key_delete - standards: - - POSIX - return_type: int - arguments: - - type: pthread_key_t - - name: pthread_self - standards: - - POSIX - return_type: pthread_t - arguments: - - type: void - - name: pthread_setname_np - standards: - - GNUExtensions - return_type: int - arguments: - - type: pthread_t - - type: const char * - - name: pthread_mutex_destroy - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutex_t * - - name: pthread_mutex_init - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutex_t *__restrict - - type: const pthread_mutexattr_t *__restrict - - name: pthread_mutex_lock - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutex_t * - - name: pthread_mutex_unlock - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutex_t * - - name: pthread_mutexattr_destroy - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutexattr_t * - - name: pthread_mutexattr_init - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutexattr_t * - - name: pthread_mutexattr_getpshared - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_mutexattr_t *__restrict - - type: int *__restrict - - name: pthread_mutexattr_getrobust - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_mutexattr_t *__restrict - - type: int *__restrict - - name: pthread_mutexattr_gettype - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_mutexattr_t *__restrict - - type: int *__restrict - - name: pthread_mutexattr_setpshared - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutexattr_t *__restrict - - type: int - - name: pthread_mutexattr_setrobust - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutexattr_t *__restrict - - type: int - - name: pthread_mutexattr_settype - standards: - - POSIX - return_type: int - arguments: - - type: pthread_mutexattr_t *__restrict - - type: int - - name: pthread_once - standards: - - POSIX - return_type: int - arguments: - - type: pthread_once_t * - - type: __pthread_once_func_t - - name: pthread_rwlockattr_destroy - standards: - - POSIX - return_type: int - arguments: - - type: pthread_rwlockattr_t * - - name: pthread_rwlockattr_getkind_np - standards: - - POSIX - return_type: int - arguments: - - type: pthread_rwlockattr_t * - - type: int * - - name: pthread_rwlockattr_getpshared - standards: - - POSIX - return_type: int - arguments: - - type: const pthread_rwlockattr_t * - - type: int * - - name: pthread_rwlockattr_init - standards: - - POSIX - return_type: int - arguments: - - type: pthread_rwlockattr_t * - - name: pthread_rwlockattr_setkind_np - standards: - - POSIX - return_type: int - arguments: - - type: pthread_rwlockattr_t * - - type: int - - name: pthread_rwlockattr_setpshared - standards: - - POSIX - return_type: int - arguments: - - type: pthread_rwlockattr_t * - - type: int - - name: pthread_setspecific - standards: - - POSIX - return_type: void * - arguments: - - type: pthread_key_t - - type: const void * - - name: pthread_rwlock_init - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t * - - type: const pthread_rwlockattr_t *__restrict - - name: pthread_rwlock_tryrdlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t * - - name: pthread_rwlock_trywrlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t * - - name: pthread_rwlock_timedrdlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t *__restrict - - type: const struct timespec *__restrict - - name: pthread_rwlock_timedwrlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t *__restrict - - type: const struct timespec *__restrict - - name: pthread_rwlock_clockrdlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t *__restrict - - type: clockid_t - - type: const struct timespec *__restrict - - name: pthread_rwlock_clockwrlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t *__restrict - - type: clockid_t - - type: const struct timespec *__restrict - - name: pthread_rwlock_rdlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t * - - name: pthread_rwlock_wrlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t * - - name: pthread_rwlock_unlock - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t * - - name: pthread_rwlock_destroy - standards: POSIX - return_type: int - arguments: - - type: pthread_rwlock_t * - - name: pthread_spin_init - standards: POSIX - return_type: int - arguments: - - type: pthread_spinlock_t * - - type: int - - name: pthread_spin_destroy - standards: POSIX - return_type: int - arguments: - - type: pthread_spinlock_t * - - name: pthread_spin_lock - standards: POSIX - return_type: int - arguments: - - type: pthread_spinlock_t * - - name: pthread_spin_trylock - standards: POSIX - return_type: int - arguments: - - type: pthread_spinlock_t * - - name: pthread_spin_unlock - standards: POSIX - return_type: int - arguments: - - type: pthread_spinlock_t * +- name: pthread_atfork + standards: + - POSIX + return_type: int + arguments: + - type: __atfork_callback_t + - type: __atfork_callback_t + - type: __atfork_callback_t +- name: pthread_attr_destroy + standards: + - POSIX + return_type: int + arguments: + - type: pthread_attr_t * +- name: pthread_attr_getdetachstate + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_attr_t * + - type: int * +- name: pthread_attr_getguardsize + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_attr_t *__restrict + - type: size_t *__restrict +- name: pthread_attr_getstack + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_attr_t *__restrict + - type: void **__restrict + - type: size_t *__restrict +- name: pthread_attr_getstacksize + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_attr_t *__restrict + - type: size_t *__restrict +- name: pthread_attr_init + standards: + - POSIX + return_type: int + arguments: + - type: pthread_attr_t * +- name: pthread_attr_setdetachstate + standards: + - POSIX + return_type: int + arguments: + - type: pthread_attr_t * + - type: int +- name: pthread_attr_setguardsize + standards: + - POSIX + return_type: int + arguments: + - type: pthread_attr_t * + - type: size_t +- name: pthread_attr_setstack + standards: + - POSIX + return_type: int + arguments: + - type: pthread_attr_t * + - type: void * + - type: size_t +- name: pthread_attr_setstacksize + standards: + - POSIX + return_type: int + arguments: + - type: pthread_attr_t * + - type: size_t +- name: pthread_condattr_destroy + standards: + - POSIX + return_type: int + arguments: + - type: pthread_condattr_t * +- name: pthread_condattr_getclock + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_condattr_t *__restrict + - type: clockid_t *__restrict +- name: pthread_condattr_getpshared + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_condattr_t *__restrict + - type: int *__restrict +- name: pthread_condattr_init + standards: + - POSIX + return_type: int + arguments: + - type: pthread_condattr_t * +- name: pthread_condattr_setclock + standards: + - POSIX + return_type: int + arguments: + - type: pthread_condattr_t * + - type: clockid_t +- name: pthread_condattr_setpshared + standards: + - POSIX + return_type: int + arguments: + - type: pthread_condattr_t * + - type: int +- name: pthread_create + standards: + - POSIX + return_type: int + arguments: + - type: pthread_t *__restrict + - type: const pthread_attr_t *__restrict + - type: __pthread_start_t + - type: void * +- name: pthread_detach + standards: + - POSIX + return_type: int + arguments: + - type: pthread_t +- name: pthread_equal + standards: + - POSIX + return_type: int + arguments: + - type: pthread_t + - type: pthread_t +- name: pthread_exit + standards: + - POSIX + return_type: _Noreturn void + arguments: + - type: void * +- name: pthread_getname_np + standards: + - GNUExtensions + return_type: int + arguments: + - type: pthread_t + - type: char * + - type: size_t +- name: pthread_getspecific + standards: + - POSIX + return_type: void * + arguments: + - type: pthread_key_t +- name: pthread_join + standards: + - POSIX + return_type: int + arguments: + - type: pthread_t + - type: void ** +- name: pthread_key_create + standards: + - POSIX + return_type: int + arguments: + - type: pthread_key_t * + - type: __pthread_tss_dtor_t +- name: pthread_key_delete + standards: + - POSIX + return_type: int + arguments: + - type: pthread_key_t +- name: pthread_mutex_destroy + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutex_t * +- name: pthread_mutex_init + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutex_t *__restrict + - type: const pthread_mutexattr_t *__restrict +- name: pthread_mutex_lock + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutex_t * +- name: pthread_mutex_unlock + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutex_t * +- name: pthread_mutexattr_destroy + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutexattr_t * +- name: pthread_mutexattr_getpshared + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_mutexattr_t *__restrict + - type: int *__restrict +- name: pthread_mutexattr_getrobust + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_mutexattr_t *__restrict + - type: int *__restrict +- name: pthread_mutexattr_gettype + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_mutexattr_t *__restrict + - type: int *__restrict +- name: pthread_mutexattr_init + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutexattr_t * +- name: pthread_mutexattr_setpshared + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutexattr_t *__restrict + - type: int +- name: pthread_mutexattr_setrobust + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutexattr_t *__restrict + - type: int +- name: pthread_mutexattr_settype + standards: + - POSIX + return_type: int + arguments: + - type: pthread_mutexattr_t *__restrict + - type: int +- name: pthread_once + standards: + - POSIX + return_type: int + arguments: + - type: pthread_once_t * + - type: __pthread_once_func_t +- name: pthread_rwlock_clockrdlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t *__restrict + - type: clockid_t + - type: const struct timespec *__restrict +- name: pthread_rwlock_clockwrlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t *__restrict + - type: clockid_t + - type: const struct timespec *__restrict +- name: pthread_rwlock_destroy + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t * +- name: pthread_rwlock_init + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t * + - type: const pthread_rwlockattr_t *__restrict +- name: pthread_rwlock_rdlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t * +- name: pthread_rwlock_timedrdlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t *__restrict + - type: const struct timespec *__restrict +- name: pthread_rwlock_timedwrlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t *__restrict + - type: const struct timespec *__restrict +- name: pthread_rwlock_tryrdlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t * +- name: pthread_rwlock_trywrlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t * +- name: pthread_rwlock_unlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t * +- name: pthread_rwlock_wrlock + standards: POSIX + return_type: int + arguments: + - type: pthread_rwlock_t * +- name: pthread_rwlockattr_destroy + standards: + - POSIX + return_type: int + arguments: + - type: pthread_rwlockattr_t * +- name: pthread_rwlockattr_getkind_np + standards: + - POSIX + return_type: int + arguments: + - type: pthread_rwlockattr_t * + - type: int * +- name: pthread_rwlockattr_getpshared + standards: + - POSIX + return_type: int + arguments: + - type: const pthread_rwlockattr_t * + - type: int * +- name: pthread_rwlockattr_init + standards: + - POSIX + return_type: int + arguments: + - type: pthread_rwlockattr_t * +- name: pthread_rwlockattr_setkind_np + standards: + - POSIX + return_type: int + arguments: + - type: pthread_rwlockattr_t * + - type: int +- name: pthread_rwlockattr_setpshared + standards: + - POSIX + return_type: int + arguments: + - type: pthread_rwlockattr_t * + - type: int +- name: pthread_self + standards: + - POSIX + return_type: pthread_t + arguments: + - type: void +- name: pthread_setname_np + standards: + - GNUExtensions + return_type: int + arguments: + - type: pthread_t + - type: const char * +- name: pthread_setspecific + standards: + - POSIX + return_type: void * + arguments: + - type: pthread_key_t + - type: const void * +- name: pthread_spin_destroy + standards: POSIX + return_type: int + arguments: + - type: pthread_spinlock_t * +- name: pthread_spin_init + standards: POSIX + return_type: int + arguments: + - type: pthread_spinlock_t * + - type: int +- name: pthread_spin_lock + standards: POSIX + return_type: int + arguments: + - type: pthread_spinlock_t * +- name: pthread_spin_trylock + standards: POSIX + return_type: int + arguments: + - type: pthread_spinlock_t * +- name: pthread_spin_unlock + standards: POSIX + return_type: int + arguments: + - type: pthread_spinlock_t * diff --git a/libc/newhdrgen/yaml/sched.yaml b/libc/newhdrgen/yaml/sched.yaml index eaafa8f27ef08..432ed6d8a3c27 100644 --- a/libc/newhdrgen/yaml/sched.yaml +++ b/libc/newhdrgen/yaml/sched.yaml @@ -1,88 +1,88 @@ header: sched.h macros: [] types: - - type_name: struct_timespec - - type_name: time_t - - type_name: struct_sched_param - - type_name: size_t - - type_name: cpu_set_t - - type_name: pid_t +- type_name: struct_timespec +- type_name: time_t +- type_name: struct_sched_param +- type_name: size_t +- type_name: cpu_set_t +- type_name: pid_t enums: [] objects: [] functions: - - name: sched_get_priority_max - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: sched_get_priority_min - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: sched_getaffinity - standards: - - GNUExtensions - return_type: int - arguments: - - type: pid_t - - type: size_t - - type: cpu_set_t * - - name: sched_getparam - standards: - - POSIX - return_type: int - arguments: - - type: pid_t - - type: struct sched_param * - - name: sched_getscheduler - standards: - - POSIX - return_type: int - arguments: - - type: pid_t - - type: int - - type: const struct sched_param * - - name: sched_rr_get_interval - standards: - - POSIX - return_type: int - arguments: - - type: pid_t - - type: struct timespec * - - name: sched_setaffinity - standards: - - GNUExtensions - return_type: int - arguments: - - type: pid_t - - type: size_t - - type: const cpu_set_t * - - name: sched_setparam - standards: - - POSIX - return_type: int - arguments: - - type: pid_t - - type: const struct sched_param * - - name: sched_setscheduler - standards: - - POSIX - return_type: int - arguments: - - type: pid_t - - name: sched_yield - standards: - - POSIX - return_type: int - arguments: - - type: void - - name: __sched_getcpucount - standards: - - llvm_libc_ext - return_type: int - arguments: - - type: size_t - - type: const cpu_set_t * +- name: __sched_getcpucount + standards: + - llvm_libc_ext + return_type: int + arguments: + - type: size_t + - type: const cpu_set_t * +- name: sched_get_priority_max + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: sched_get_priority_min + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: sched_getaffinity + standards: + - GNUExtensions + return_type: int + arguments: + - type: pid_t + - type: size_t + - type: cpu_set_t * +- name: sched_getparam + standards: + - POSIX + return_type: int + arguments: + - type: pid_t + - type: struct sched_param * +- name: sched_getscheduler + standards: + - POSIX + return_type: int + arguments: + - type: pid_t + - type: int + - type: const struct sched_param * +- name: sched_rr_get_interval + standards: + - POSIX + return_type: int + arguments: + - type: pid_t + - type: struct timespec * +- name: sched_setaffinity + standards: + - GNUExtensions + return_type: int + arguments: + - type: pid_t + - type: size_t + - type: const cpu_set_t * +- name: sched_setparam + standards: + - POSIX + return_type: int + arguments: + - type: pid_t + - type: const struct sched_param * +- name: sched_setscheduler + standards: + - POSIX + return_type: int + arguments: + - type: pid_t +- name: sched_yield + standards: + - POSIX + return_type: int + arguments: + - type: void diff --git a/libc/newhdrgen/yaml/search.yaml b/libc/newhdrgen/yaml/search.yaml index 878b6972e0349..4eeced3866c16 100644 --- a/libc/newhdrgen/yaml/search.yaml +++ b/libc/newhdrgen/yaml/search.yaml @@ -1,59 +1,59 @@ header: search.h macros: [] types: - - type_name: struct_hsearch_data - - type_name: ENTRY - - type_name: ACTION +- type_name: struct_hsearch_data +- type_name: ENTRY +- type_name: ACTION enums: [] objects: [] functions: - - name: hcreate - standards: - - POSIX - return_type: int - arguments: - - type: size_t - - name: hcreate_r - standards: GNUExtensions - return_type: int - arguments: - - type: size_t - - type: struct hsearch_data * - - name: hsearch - standards: - - POSIX - return_type: ENTRY * - arguments: - - type: ENTRY - - type: ACTION - - name: hsearch_r - standards: GNUExtensions - return_type: int - arguments: - - type: ENTRY - - type: ACTION - - type: ENTRY * * - - type: struct hsearch_data * - - name: hdestroy - standards: GNUExtensions - return_type: void - arguments: [] - - name: hdestroy_r - standards: - - POSIX - return_type: void - arguments: - - type: struct hsearch_data * - - name: insque - standards: - - POSIX - return_type: void - arguments: - - type: void * - - type: void * - - name: remque - standards: - - POSIX - return_type: void - arguments: - - type: void * +- name: hcreate + standards: + - POSIX + return_type: int + arguments: + - type: size_t +- name: hcreate_r + standards: GNUExtensions + return_type: int + arguments: + - type: size_t + - type: struct hsearch_data * +- name: hdestroy + standards: GNUExtensions + return_type: void + arguments: [] +- name: hdestroy_r + standards: + - POSIX + return_type: void + arguments: + - type: struct hsearch_data * +- name: hsearch + standards: + - POSIX + return_type: ENTRY * + arguments: + - type: ENTRY + - type: ACTION +- name: hsearch_r + standards: GNUExtensions + return_type: int + arguments: + - type: ENTRY + - type: ACTION + - type: ENTRY * * + - type: struct hsearch_data * +- name: insque + standards: + - POSIX + return_type: void + arguments: + - type: void * + - type: void * +- name: remque + standards: + - POSIX + return_type: void + arguments: + - type: void * diff --git a/libc/newhdrgen/yaml/setjmp.yaml b/libc/newhdrgen/yaml/setjmp.yaml index 68e3ff046e4b8..e6f979b75e870 100644 --- a/libc/newhdrgen/yaml/setjmp.yaml +++ b/libc/newhdrgen/yaml/setjmp.yaml @@ -1,20 +1,20 @@ header: setjmp.h macros: [] types: - - type_name: jmp_buf +- type_name: jmp_buf enums: [] objects: [] functions: - - name: longjmp - standards: - - stdc - return_type: _Noreturn void - arguments: - - type: jmp_buf - - type: int - - name: setjmp - standards: - - stdc - return_type: int - arguments: - - type: jmp_buf +- name: longjmp + standards: + - stdc + return_type: _Noreturn void + arguments: + - type: jmp_buf + - type: int +- name: setjmp + standards: + - stdc + return_type: int + arguments: + - type: jmp_buf diff --git a/libc/newhdrgen/yaml/signal.yaml b/libc/newhdrgen/yaml/signal.yaml index 5de89e87453ed..4fcfe1ae9bd4a 100644 --- a/libc/newhdrgen/yaml/signal.yaml +++ b/libc/newhdrgen/yaml/signal.yaml @@ -1,82 +1,82 @@ header: signal.h macros: [] types: - - type_name: pid_t - - type_name: stack_t - - type_name: siginfo_t - - type_name: struct_sigaction - - type_name: sigset_t - - type_name: union_sigval - - type_name: sig_atomic_t +- type_name: pid_t +- type_name: stack_t +- type_name: siginfo_t +- type_name: struct_sigaction +- type_name: sigset_t +- type_name: union_sigval +- type_name: sig_atomic_t enums: [] objects: [] functions: - - name: raise - standards: - - stdc - return_type: int - arguments: - - type: int - - name: kill - standards: - - POSIX - return_type: int - arguments: - - type: pid_t - - type: int - - name: sigaction - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const struct sigaction *__restrict - - type: struct sigaction *__restrict - - name: sigaltstack - standards: - - POSIX - return_type: int - arguments: - - type: const stack_t *__restrict - - type: stack_t *__restrict - - name: sigdelset - standards: - - POSIX - return_type: int - arguments: - - type: sigset_t * - - type: int - - name: sigaddset - standards: - - POSIX - return_type: int - arguments: - - type: sigset_t * - - type: int - - name: sigemptyset - standards: - - POSIX - return_type: int - arguments: - - type: sigset_t * - - name: sigprocmask - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const sigset_t *__restrict - - type: sigset_t *__restrict - - name: sigfillset - standards: - - POSIX - return_type: int - arguments: - - type: sigset_t * - - name: signal - standards: - - stdc - return_type: __sighandler_t - arguments: - - type: int - - type: __sighandler_t +- name: kill + standards: + - POSIX + return_type: int + arguments: + - type: pid_t + - type: int +- name: raise + standards: + - stdc + return_type: int + arguments: + - type: int +- name: sigaction + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const struct sigaction *__restrict + - type: struct sigaction *__restrict +- name: sigaddset + standards: + - POSIX + return_type: int + arguments: + - type: sigset_t * + - type: int +- name: sigaltstack + standards: + - POSIX + return_type: int + arguments: + - type: const stack_t *__restrict + - type: stack_t *__restrict +- name: sigdelset + standards: + - POSIX + return_type: int + arguments: + - type: sigset_t * + - type: int +- name: sigemptyset + standards: + - POSIX + return_type: int + arguments: + - type: sigset_t * +- name: sigfillset + standards: + - POSIX + return_type: int + arguments: + - type: sigset_t * +- name: signal + standards: + - stdc + return_type: __sighandler_t + arguments: + - type: int + - type: __sighandler_t +- name: sigprocmask + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const sigset_t *__restrict + - type: sigset_t *__restrict diff --git a/libc/newhdrgen/yaml/spawn.yaml b/libc/newhdrgen/yaml/spawn.yaml index be3f4e99d27fc..e2c3b96a17ec6 100644 --- a/libc/newhdrgen/yaml/spawn.yaml +++ b/libc/newhdrgen/yaml/spawn.yaml @@ -1,58 +1,58 @@ header: spawn.h macros: [] types: - - type_name: posix_spawn_file_actions_t - - type_name: posix_spawnattr_t - - type_name: pid_t - - type_name: mode_t +- type_name: posix_spawn_file_actions_t +- type_name: posix_spawnattr_t +- type_name: pid_t +- type_name: mode_t enums: [] objects: [] functions: - - name: posix_spawn - standards: - - POSIX - return_type: int - arguments: - - type: pid_t *__restrict - - type: const char *__restrict - - type: posix_spawn_file_actions_t * - - type: posix_spawnattr_t *__restrict - - type: const char *__restrict * - - type: const char *__restrict * - - name: posix_spawn_file_actions_addclose - standards: - - POSIX - return_type: int - arguments: - - type: posix_spawn_file_actions_t * - - type: int - - name: posix_spawn_file_actions_adddup2 - standards: - - POSIX - return_type: int - arguments: - - type: posix_spawn_file_actions_t * - - type: int - - type: int - - name: posix_spawn_file_actions_addopen - standards: - - POSIX - return_type: int - arguments: - - type: posix_spawn_file_actions_t *__restrict - - type: int - - type: const char *__restrict - - type: int - - type: mode_t - - name: posix_spawn_file_actions_destroy - standards: - - POSIX - return_type: int - arguments: - - type: posix_spawn_file_actions_t * - - name: posix_spawn_file_actions_init - standards: - - POSIX - return_type: int - arguments: - - type: posix_spawn_file_actions_t * +- name: posix_spawn + standards: + - POSIX + return_type: int + arguments: + - type: pid_t *__restrict + - type: const char *__restrict + - type: posix_spawn_file_actions_t * + - type: posix_spawnattr_t *__restrict + - type: const char *__restrict * + - type: const char *__restrict * +- name: posix_spawn_file_actions_addclose + standards: + - POSIX + return_type: int + arguments: + - type: posix_spawn_file_actions_t * + - type: int +- name: posix_spawn_file_actions_adddup2 + standards: + - POSIX + return_type: int + arguments: + - type: posix_spawn_file_actions_t * + - type: int + - type: int +- name: posix_spawn_file_actions_addopen + standards: + - POSIX + return_type: int + arguments: + - type: posix_spawn_file_actions_t *__restrict + - type: int + - type: const char *__restrict + - type: int + - type: mode_t +- name: posix_spawn_file_actions_destroy + standards: + - POSIX + return_type: int + arguments: + - type: posix_spawn_file_actions_t * +- name: posix_spawn_file_actions_init + standards: + - POSIX + return_type: int + arguments: + - type: posix_spawn_file_actions_t * diff --git a/libc/newhdrgen/yaml/stdbit.yaml b/libc/newhdrgen/yaml/stdbit.yaml index 7a5b61973de0a..d36910c158cad 100644 --- a/libc/newhdrgen/yaml/stdbit.yaml +++ b/libc/newhdrgen/yaml/stdbit.yaml @@ -4,393 +4,393 @@ types: [] enums: [] objects: [] functions: - - name: stdc_leading_zeros_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_leading_zeros_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_leading_zeros_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_leading_zeros_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_leading_zeros_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_leading_ones_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_leading_ones_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_leading_ones_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_leading_ones_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_leading_ones_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_trailing_zeros_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_trailing_zeros_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_trailing_zeros_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_trailing_zeros_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_trailing_zeros_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_trailing_ones_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_trailing_ones_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_trailing_ones_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_trailing_ones_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_trailing_ones_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_first_leading_zero_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_first_leading_zero_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_first_leading_zero_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_first_leading_zero_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_first_leading_zero_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_first_leading_one_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_first_leading_one_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_first_leading_one_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_first_leading_one_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_first_leading_one_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_first_trailing_one_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_first_trailing_one_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_first_trailing_one_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_first_trailing_one_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_first_trailing_one_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_count_zeros_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_count_zeros_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_count_zeros_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_count_zeros_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_count_zeros_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_count_ones_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_count_ones_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_count_ones_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_count_ones_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_count_ones_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_has_single_bit_uc - standards: - - stdc - return_type: bool - arguments: - - type: unsigned char - - name: stdc_has_single_bit_us - standards: - - stdc - return_type: bool - arguments: - - type: unsigned short - - name: stdc_has_single_bit_ui - standards: - - stdc - return_type: bool - arguments: - - type: unsigned int - - name: stdc_has_single_bit_ul - standards: - - stdc - return_type: bool - arguments: - - type: unsigned long - - name: stdc_has_single_bit_ull - standards: - - stdc - return_type: bool - arguments: - - type: unsigned long long - - name: stdc_bit_width_uc - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned char - - name: stdc_bit_width_us - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned short - - name: stdc_bit_width_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_bit_width_ul - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long - - name: stdc_bit_width_ull - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned long long - - name: stdc_bit_floor_uc - standards: - - stdc - return_type: unsigned char - arguments: - - type: unsigned char - - name: stdc_bit_floor_us - standards: - - stdc - return_type: unsigned short - arguments: - - type: unsigned short - - name: stdc_bit_floor_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_bit_floor_ul - standards: - - stdc - return_type: unsigned long - arguments: - - type: unsigned long - - name: stdc_bit_floor_ull - standards: - - stdc - return_type: unsigned long long - arguments: - - type: unsigned long long - - name: stdc_bit_ceil_uc - standards: - - stdc - return_type: unsigned char - arguments: - - type: unsigned char - - name: stdc_bit_ceil_us - standards: - - stdc - return_type: unsigned short - arguments: - - type: unsigned short - - name: stdc_bit_ceil_ui - standards: - - stdc - return_type: unsigned int - arguments: - - type: unsigned int - - name: stdc_bit_ceil_ul - standards: - - stdc - return_type: unsigned long - arguments: - - type: unsigned long - - name: stdc_bit_ceil_ull - standards: - - stdc - return_type: unsigned long long - arguments: - - type: unsigned long long +- name: stdc_bit_ceil_uc + standards: + - stdc + return_type: unsigned char + arguments: + - type: unsigned char +- name: stdc_bit_ceil_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_bit_ceil_ul + standards: + - stdc + return_type: unsigned long + arguments: + - type: unsigned long +- name: stdc_bit_ceil_ull + standards: + - stdc + return_type: unsigned long long + arguments: + - type: unsigned long long +- name: stdc_bit_ceil_us + standards: + - stdc + return_type: unsigned short + arguments: + - type: unsigned short +- name: stdc_bit_floor_uc + standards: + - stdc + return_type: unsigned char + arguments: + - type: unsigned char +- name: stdc_bit_floor_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_bit_floor_ul + standards: + - stdc + return_type: unsigned long + arguments: + - type: unsigned long +- name: stdc_bit_floor_ull + standards: + - stdc + return_type: unsigned long long + arguments: + - type: unsigned long long +- name: stdc_bit_floor_us + standards: + - stdc + return_type: unsigned short + arguments: + - type: unsigned short +- name: stdc_bit_width_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_bit_width_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_bit_width_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_bit_width_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_bit_width_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_count_ones_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_count_ones_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_count_ones_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_count_ones_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_count_ones_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_count_zeros_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_count_zeros_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_count_zeros_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_count_zeros_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_count_zeros_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_first_leading_one_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_first_leading_one_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_first_leading_one_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_first_leading_one_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_first_leading_one_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_first_leading_zero_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_first_leading_zero_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_first_leading_zero_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_first_leading_zero_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_first_leading_zero_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_first_trailing_one_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_first_trailing_one_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_first_trailing_one_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_first_trailing_one_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_first_trailing_one_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_has_single_bit_uc + standards: + - stdc + return_type: bool + arguments: + - type: unsigned char +- name: stdc_has_single_bit_ui + standards: + - stdc + return_type: bool + arguments: + - type: unsigned int +- name: stdc_has_single_bit_ul + standards: + - stdc + return_type: bool + arguments: + - type: unsigned long +- name: stdc_has_single_bit_ull + standards: + - stdc + return_type: bool + arguments: + - type: unsigned long long +- name: stdc_has_single_bit_us + standards: + - stdc + return_type: bool + arguments: + - type: unsigned short +- name: stdc_leading_ones_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_leading_ones_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_leading_ones_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_leading_ones_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_leading_ones_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_leading_zeros_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_leading_zeros_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_leading_zeros_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_leading_zeros_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_leading_zeros_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_trailing_ones_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_trailing_ones_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_trailing_ones_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_trailing_ones_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_trailing_ones_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short +- name: stdc_trailing_zeros_uc + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned char +- name: stdc_trailing_zeros_ui + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned int +- name: stdc_trailing_zeros_ul + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long +- name: stdc_trailing_zeros_ull + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned long long +- name: stdc_trailing_zeros_us + standards: + - stdc + return_type: unsigned int + arguments: + - type: unsigned short diff --git a/libc/newhdrgen/yaml/stdckdint.yaml b/libc/newhdrgen/yaml/stdckdint.yaml index ea8fc47625b03..653252d627ddc 100644 --- a/libc/newhdrgen/yaml/stdckdint.yaml +++ b/libc/newhdrgen/yaml/stdckdint.yaml @@ -1,6 +1,6 @@ header: stdckdint.h standards: - - stdc +- stdc macros: [] types: [] enums: [] diff --git a/libc/newhdrgen/yaml/stdfix.yaml b/libc/newhdrgen/yaml/stdfix.yaml index 339c6aaae296f..9c45e2800c3e1 100644 --- a/libc/newhdrgen/yaml/stdfix.yaml +++ b/libc/newhdrgen/yaml/stdfix.yaml @@ -4,219 +4,219 @@ types: [] enums: [] objects: [] functions: - - name: abshk - standards: - - stdc_ext - return_type: short accum - arguments: - - type: short accum - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: abshr - standards: - - stdc_ext - return_type: short fract - arguments: - - type: short fract - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: absk - standards: - - stdc_ext - return_type: accum - arguments: - - type: accum - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: absr - standards: - - stdc_ext - return_type: fract - arguments: - - type: fract - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: abslk - standards: - - stdc_ext - return_type: long accum - arguments: - - type: long accum - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: abslr - standards: - - stdc_ext - return_type: long fract - arguments: - - type: long fract - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: exphk - standards: - - stdc_ext - - llvm_libc_stdfix_ext - return_type: short accum - arguments: - - type: short accum - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: expk - standards: - - stdc_ext - - llvm_libc_stdfix_ext - return_type: accum - arguments: - - type: accum - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundhk - standards: - - stdc_ext - return_type: short accum - arguments: - - type: short accum - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundhr - standards: - - stdc_ext - return_type: short fract - arguments: - - type: short fract - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundk - standards: - - stdc_ext - return_type: accum - arguments: - - type: accum - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundr - standards: - - stdc_ext - return_type: fract - arguments: - - type: fract - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundlk - standards: - - stdc_ext - return_type: long accum - arguments: - - type: long accum - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundlr - standards: - - stdc_ext - return_type: long fract - arguments: - - type: long fract - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: rounduhk - standards: - - stdc_ext - return_type: unsigned short accum - arguments: - - type: unsigned short accum - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: rounduhr - standards: - - stdc_ext - return_type: unsigned short fract - arguments: - - type: unsigned short fract - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: rounduk - standards: - - stdc_ext - return_type: unsigned accum - arguments: - - type: unsigned accum - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundur - standards: - - stdc_ext - return_type: unsigned fract - arguments: - - type: unsigned fract - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundulk - standards: - - stdc_ext - return_type: unsigned long accum - arguments: - - type: unsigned long accum - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: roundulr - standards: - - stdc_ext - return_type: unsigned long fract - arguments: - - type: unsigned long fract - - type: int - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: sqrtuhk - 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: - - 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 - - llvm_libc_stdfix_ext - return_type: unsigned accum - arguments: - - type: unsigned accum - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: sqrtur - 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 - - llvm_libc_stdfix_ext - return_type: unsigned long fract - arguments: - - type: unsigned long fract - guard: LIBC_COMPILER_HAS_FIXED_POINT - - name: sqrtulk - standards: llvm_libc_stdfix_ext - return_type: unsigned long accum - arguments: - - type: unsigned long accum - guard: LIBC_COMPILER_HAS_FIXED_POINT - - 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 - - llvm_libc_stdfix_ext - return_type: unsigned accum - arguments: - - type: unsigned int - guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: abshk + standards: + - stdc_ext + return_type: short accum + arguments: + - type: short accum + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: abshr + standards: + - stdc_ext + return_type: short fract + arguments: + - type: short fract + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: absk + standards: + - stdc_ext + return_type: accum + arguments: + - type: accum + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: abslk + standards: + - stdc_ext + return_type: long accum + arguments: + - type: long accum + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: abslr + standards: + - stdc_ext + return_type: long fract + arguments: + - type: long fract + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: absr + standards: + - stdc_ext + return_type: fract + arguments: + - type: fract + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: exphk + standards: + - stdc_ext + - llvm_libc_stdfix_ext + return_type: short accum + arguments: + - type: short accum + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: expk + standards: + - stdc_ext + - llvm_libc_stdfix_ext + return_type: accum + arguments: + - type: accum + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundhk + standards: + - stdc_ext + return_type: short accum + arguments: + - type: short accum + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundhr + standards: + - stdc_ext + return_type: short fract + arguments: + - type: short fract + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundk + standards: + - stdc_ext + return_type: accum + arguments: + - type: accum + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundlk + standards: + - stdc_ext + return_type: long accum + arguments: + - type: long accum + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundlr + standards: + - stdc_ext + return_type: long fract + arguments: + - type: long fract + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundr + standards: + - stdc_ext + return_type: fract + arguments: + - type: fract + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: rounduhk + standards: + - stdc_ext + return_type: unsigned short accum + arguments: + - type: unsigned short accum + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: rounduhr + standards: + - stdc_ext + return_type: unsigned short fract + arguments: + - type: unsigned short fract + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: rounduk + standards: + - stdc_ext + return_type: unsigned accum + arguments: + - type: unsigned accum + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundulk + standards: + - stdc_ext + return_type: unsigned long accum + arguments: + - type: unsigned long accum + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundulr + standards: + - stdc_ext + return_type: unsigned long fract + arguments: + - type: unsigned long fract + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: roundur + standards: + - stdc_ext + return_type: unsigned fract + arguments: + - type: unsigned fract + - type: int + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: sqrtuhk + 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: + - 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 + - llvm_libc_stdfix_ext + return_type: unsigned accum + arguments: + - type: unsigned accum + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: sqrtulk + standards: llvm_libc_stdfix_ext + return_type: unsigned long accum + arguments: + - type: unsigned long accum + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: sqrtulr + standards: + - stdc_ext + - llvm_libc_stdfix_ext + return_type: unsigned long fract + arguments: + - type: unsigned long fract + guard: LIBC_COMPILER_HAS_FIXED_POINT +- name: sqrtur + standards: + - stdc_ext + - llvm_libc_stdfix_ext + return_type: unsigned fract + arguments: + - type: unsigned fract + guard: LIBC_COMPILER_HAS_FIXED_POINT +- 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 + - llvm_libc_stdfix_ext + return_type: unsigned accum + arguments: + - type: unsigned int + guard: LIBC_COMPILER_HAS_FIXED_POINT diff --git a/libc/newhdrgen/yaml/stdint.yaml b/libc/newhdrgen/yaml/stdint.yaml index 8887f596bc8aa..ae01ab18b6407 100644 --- a/libc/newhdrgen/yaml/stdint.yaml +++ b/libc/newhdrgen/yaml/stdint.yaml @@ -1,6 +1,6 @@ header: stdint.h standards: - - stdc +- stdc macros: [] types: [] enums: [] diff --git a/libc/newhdrgen/yaml/stdio.yaml b/libc/newhdrgen/yaml/stdio.yaml index 776e9ae30f474..20f7259d43bfd 100644 --- a/libc/newhdrgen/yaml/stdio.yaml +++ b/libc/newhdrgen/yaml/stdio.yaml @@ -1,382 +1,382 @@ header: stdio.h macros: - - macro_name: stdout - macro_value: stdout - - macro_name: stdin - macro_value: stdin - - macro_name: stderr - macro_value: stderr +- macro_name: stdout + macro_value: stdout +- macro_name: stdin + macro_value: stdin +- macro_name: stderr + macro_value: stderr types: - - type_name: size_t - - type_name: off_t - - type_name: cookie_io_functions_t - - type_name: FILE +- type_name: size_t +- type_name: off_t +- type_name: cookie_io_functions_t +- type_name: FILE enums: [] objects: - - object_name: stdin - object_type: FILE * - - object_name: stdout - object_type: FILE * - - object_name: stderr - object_type: FILE * +- object_name: stdin + object_type: FILE * +- object_name: stdout + object_type: FILE * +- object_name: stderr + object_type: FILE * functions: - - name: remove - standards: - - stdc - return_type: int - arguments: - - type: const char * - - name: rename - standards: - - stdc - return_type: int - arguments: - - type: const char * - - type: const char * - - name: sprintf - standards: - - stdc - return_type: int - arguments: - - type: char *__restrict - - type: const char *__restrict - - type: ... - - name: snprintf - standards: - - stdc - return_type: int - arguments: - - type: char *__restrict - - type: size_t - - type: const char *__restrict - - type: ... - - name: fprintf - standards: - - stdc - return_type: int - arguments: - - type: FILE *__restrict - - type: const char *__restrict - - type: ... - - name: printf - standards: - - stdc - return_type: int - arguments: - - type: const char *__restrict - - type: ... - - name: vsprintf - standards: - - stdc - return_type: int - arguments: - - type: char *__restrict - - type: const char *__restrict - - type: va_list - - name: vsnprintf - standards: - - stdc - return_type: int - arguments: - - type: char *__restrict - - type: size_t - - type: const char *__restrict - - type: va_list - - name: vfprintf - standards: - - stdc - return_type: int - arguments: - - type: FILE *__restrict - - type: const char *__restrict - - type: va_list - - name: vprintf - standards: - - stdc - return_type: int - arguments: - - type: const char *__restrict - - type: va_list - - name: asprintf - standards: - - GNUExtensions - return_type: int - arguments: - - type: char **__restrict - - type: const char *__restrict - - type: ... - - name: vasprintf - standards: - - GNUExtensions - return_type: int - arguments: - - type: char **__restrict - - type: const char *__restrict - - type: va_list - - name: sscanf - standards: - - stdc - return_type: int - arguments: - - type: const char *__restrict - - type: const char *__restrict - - type: ... - - name: vsscanf - standards: - - stdc - return_type: int - arguments: - - type: const char *__restrict - - type: const char *__restrict - - type: va_list - - name: scanf - standards: - - stdc - return_type: int - arguments: - - type: const char *__restrict - - type: ... - - name: fscanf - standards: - - stdc - return_type: int - arguments: - - type: FILE *__restrict - - type: const char *__restrict - - type: ... - - name: fileno - standards: - - POSIX - return_type: int - arguments: - - type: FILE * - - name: fdopen - standards: - - POSIX - return_type: FILE * - arguments: - - type: int - - type: const char * - - name: clearerr - standards: - - stdc - return_type: void - arguments: - - type: FILE * - - name: clearerr_unlocked - standards: - - GNUExtensions - return_type: void - arguments: - - type: FILE * - - name: fclose - standards: - - stdc - return_type: int - arguments: - - type: FILE * - - name: flockfile - standards: - - POSIX - return_type: void - arguments: - - type: FILE * - - name: feof - standards: - - stdc - return_type: int - arguments: - - type: FILE * - - name: feof_unlocked - standards: - - GNUExtensions - return_type: int - arguments: - - type: FILE * - - name: ferror - standards: - - stdc - return_type: int - arguments: - - type: FILE * - - name: ferror_unlocked - standards: - - GNUExtensions - return_type: int - arguments: - - type: FILE * - - name: fgetc - standards: - - stdc - return_type: int - arguments: - - type: FILE * - - name: fgetc_unlocked - standards: - - GNUExtensions - return_type: int - arguments: - - type: FILE * - - name: fgets - standards: - - stdc - return_type: char * - arguments: - - type: char *__restrict - - type: int - - type: FILE *__restrict - - name: fflush - standards: - - stdc - return_type: int - arguments: - - type: FILE * - - name: fopen - standards: - - stdc - return_type: FILE * - arguments: - - type: const char * - - type: const char * - - name: fputc - standards: - - stdc - return_type: int - arguments: - - type: int - - type: FILE * - - name: fputs - standards: - - stdc - return_type: int - arguments: - - type: const char *__restrict - - type: FILE *__restrict - - name: fopencookie - standards: - - GNUExtensions - return_type: FILE * - arguments: - - type: void * - - type: const char * - - type: cookie_io_functions_t - - name: fread - standards: - - stdc - return_type: size_t - arguments: - - type: void *__restrict - - type: size_t - - type: size_t - - type: FILE *__restrict - - name: fread_unlocked - standards: - - GNUExtensions - return_type: size_t - arguments: - - type: void *__restrict - - type: size_t - - type: size_t - - type: FILE *__restrict - - name: fseek - standards: - - stdc - return_type: int - arguments: - - type: FILE * - - type: long - - type: int - - name: ftell - standards: - - stdc - return_type: long - arguments: - - type: FILE * - - name: funlockfile - standards: - - POSIX - return_type: void - arguments: - - type: FILE * - - name: fwrite - standards: - - stdc - return_type: size_t - arguments: - - type: const void *__restrict - - type: size_t - - type: size_t - - type: FILE *__restrict - - name: fwrite_unlocked - standards: - - GNUExtensions - return_type: size_t - arguments: - - type: const void *__restrict - - type: size_t - - type: size_t - - type: FILE *__restrict - - name: getc - standards: - - stdc - return_type: int - arguments: - - type: FILE * - - name: getc_unlocked - standards: - - POSIX - return_type: int - arguments: - - type: FILE * - - name: getchar - standards: - - stdc - return_type: int - arguments: [] - - name: getchar_unlocked - standards: - - POSIX - return_type: int - arguments: [] - - name: putc - standards: - - stdc - return_type: int - arguments: - - type: int - - type: FILE * - - name: putchar - standards: - - stdc - return_type: int - arguments: - - type: int - - name: puts - standards: - - stdc - return_type: int - arguments: - - type: const char * - - name: setbuf - standards: - - stdc - return_type: void - arguments: - - type: FILE *__restrict - - type: char *__restrict - - name: setvbuf - standards: - - stdc - return_type: int - arguments: - - type: FILE *__restrict - - type: char *__restrict - - type: int - - type: size_t - - name: ungetc - standards: - - stdc - return_type: int - arguments: - - type: int - - type: FILE * +- name: asprintf + standards: + - GNUExtensions + return_type: int + arguments: + - type: char **__restrict + - type: const char *__restrict + - type: '...' +- name: clearerr + standards: + - stdc + return_type: void + arguments: + - type: FILE * +- name: clearerr_unlocked + standards: + - GNUExtensions + return_type: void + arguments: + - type: FILE * +- name: fclose + standards: + - stdc + return_type: int + arguments: + - type: FILE * +- name: fdopen + standards: + - POSIX + return_type: FILE * + arguments: + - type: int + - type: const char * +- name: feof + standards: + - stdc + return_type: int + arguments: + - type: FILE * +- name: feof_unlocked + standards: + - GNUExtensions + return_type: int + arguments: + - type: FILE * +- name: ferror + standards: + - stdc + return_type: int + arguments: + - type: FILE * +- name: ferror_unlocked + standards: + - GNUExtensions + return_type: int + arguments: + - type: FILE * +- name: fflush + standards: + - stdc + return_type: int + arguments: + - type: FILE * +- name: fgetc + standards: + - stdc + return_type: int + arguments: + - type: FILE * +- name: fgetc_unlocked + standards: + - GNUExtensions + return_type: int + arguments: + - type: FILE * +- name: fgets + standards: + - stdc + return_type: char * + arguments: + - type: char *__restrict + - type: int + - type: FILE *__restrict +- name: fileno + standards: + - POSIX + return_type: int + arguments: + - type: FILE * +- name: flockfile + standards: + - POSIX + return_type: void + arguments: + - type: FILE * +- name: fopen + standards: + - stdc + return_type: FILE * + arguments: + - type: const char * + - type: const char * +- name: fopencookie + standards: + - GNUExtensions + return_type: FILE * + arguments: + - type: void * + - type: const char * + - type: cookie_io_functions_t +- name: fprintf + standards: + - stdc + return_type: int + arguments: + - type: FILE *__restrict + - type: const char *__restrict + - type: '...' +- name: fputc + standards: + - stdc + return_type: int + arguments: + - type: int + - type: FILE * +- name: fputs + standards: + - stdc + return_type: int + arguments: + - type: const char *__restrict + - type: FILE *__restrict +- name: fread + standards: + - stdc + return_type: size_t + arguments: + - type: void *__restrict + - type: size_t + - type: size_t + - type: FILE *__restrict +- name: fread_unlocked + standards: + - GNUExtensions + return_type: size_t + arguments: + - type: void *__restrict + - type: size_t + - type: size_t + - type: FILE *__restrict +- name: fscanf + standards: + - stdc + return_type: int + arguments: + - type: FILE *__restrict + - type: const char *__restrict + - type: '...' +- name: fseek + standards: + - stdc + return_type: int + arguments: + - type: FILE * + - type: long + - type: int +- name: ftell + standards: + - stdc + return_type: long + arguments: + - type: FILE * +- name: funlockfile + standards: + - POSIX + return_type: void + arguments: + - type: FILE * +- name: fwrite + standards: + - stdc + return_type: size_t + arguments: + - type: const void *__restrict + - type: size_t + - type: size_t + - type: FILE *__restrict +- name: fwrite_unlocked + standards: + - GNUExtensions + return_type: size_t + arguments: + - type: const void *__restrict + - type: size_t + - type: size_t + - type: FILE *__restrict +- name: getc + standards: + - stdc + return_type: int + arguments: + - type: FILE * +- name: getc_unlocked + standards: + - POSIX + return_type: int + arguments: + - type: FILE * +- name: getchar + standards: + - stdc + return_type: int + arguments: [] +- name: getchar_unlocked + standards: + - POSIX + return_type: int + arguments: [] +- name: printf + standards: + - stdc + return_type: int + arguments: + - type: const char *__restrict + - type: '...' +- name: putc + standards: + - stdc + return_type: int + arguments: + - type: int + - type: FILE * +- name: putchar + standards: + - stdc + return_type: int + arguments: + - type: int +- name: puts + standards: + - stdc + return_type: int + arguments: + - type: const char * +- name: remove + standards: + - stdc + return_type: int + arguments: + - type: const char * +- name: rename + standards: + - stdc + return_type: int + arguments: + - type: const char * + - type: const char * +- name: scanf + standards: + - stdc + return_type: int + arguments: + - type: const char *__restrict + - type: '...' +- name: setbuf + standards: + - stdc + return_type: void + arguments: + - type: FILE *__restrict + - type: char *__restrict +- name: setvbuf + standards: + - stdc + return_type: int + arguments: + - type: FILE *__restrict + - type: char *__restrict + - type: int + - type: size_t +- name: snprintf + standards: + - stdc + return_type: int + arguments: + - type: char *__restrict + - type: size_t + - type: const char *__restrict + - type: '...' +- name: sprintf + standards: + - stdc + return_type: int + arguments: + - type: char *__restrict + - type: const char *__restrict + - type: '...' +- name: sscanf + standards: + - stdc + return_type: int + arguments: + - type: const char *__restrict + - type: const char *__restrict + - type: '...' +- name: ungetc + standards: + - stdc + return_type: int + arguments: + - type: int + - type: FILE * +- name: vasprintf + standards: + - GNUExtensions + return_type: int + arguments: + - type: char **__restrict + - type: const char *__restrict + - type: va_list +- name: vfprintf + standards: + - stdc + return_type: int + arguments: + - type: FILE *__restrict + - type: const char *__restrict + - type: va_list +- name: vprintf + standards: + - stdc + return_type: int + arguments: + - type: const char *__restrict + - type: va_list +- name: vsnprintf + standards: + - stdc + return_type: int + arguments: + - type: char *__restrict + - type: size_t + - type: const char *__restrict + - type: va_list +- name: vsprintf + standards: + - stdc + return_type: int + arguments: + - type: char *__restrict + - type: const char *__restrict + - type: va_list +- name: vsscanf + standards: + - stdc + return_type: int + arguments: + - type: const char *__restrict + - type: const char *__restrict + - type: va_list diff --git a/libc/newhdrgen/yaml/stdlib.yaml b/libc/newhdrgen/yaml/stdlib.yaml index ac5e2260e9829..541f4b0ab9bcc 100644 --- a/libc/newhdrgen/yaml/stdlib.yaml +++ b/libc/newhdrgen/yaml/stdlib.yaml @@ -1,275 +1,275 @@ header: stdlib.h standards: - - stdc +- stdc macros: [] types: - - type_name: __atexithandler_t - - type_name: __qsortrcompare_t - - type_name: __qsortcompare_t - - type_name: __bsearchcompare_t - - type_name: size_t - - type_name: lldiv_t - - type_name: ldiv_t - - type_name: div_t +- type_name: __atexithandler_t +- type_name: __qsortrcompare_t +- type_name: __qsortcompare_t +- type_name: __bsearchcompare_t +- type_name: size_t +- type_name: lldiv_t +- type_name: ldiv_t +- type_name: div_t enums: [] objects: [] functions: - - name: abs - standards: - - stdc - return_type: int - arguments: - - type: int - - name: atoi - standards: - - stdc - return_type: int - arguments: - - type: const char * - - name: atof - standards: - - stdc - return_type: double - arguments: - - type: const char *__restrict - - name: atol - standards: - - stdc - return_type: long - arguments: - - type: const char * - - name: atoll - standards: - - stdc - return_type: long long - arguments: - - type: const char * - - name: bsearch - standards: - - stdc - return_type: void * - arguments: - - type: const void * - - type: const void * - - type: size_t - - type: size_t - - type: __bsearchcompare_t - - name: div - standards: - - stdc - return_type: div_t - arguments: - - type: int - - type: int - - name: labs - standards: - - stdc - return_type: long - arguments: - - type: long - - name: ldiv - standards: - - stdc - return_type: ldiv_t - arguments: - - type: long - - type: long - - name: llabs - standards: - - stdc - return_type: long long - arguments: - - type: long long - - name: lldiv - standards: - - stdc - return_type: lldiv_t - arguments: - - type: long long - - type: long long - - name: qsort - standards: - - stdc - return_type: void - arguments: - - type: void * - - type: size_t - - type: size_t - - type: __qsortcompare_t - - name: qsort_r - standards: - - GNUExtensions - return_type: void - arguments: - - type: void * - - type: size_t - - type: size_t - - type: __qsortrcompare_t - - type: void * - - name: rand - standards: - - stdc - return_type: int - arguments: - - type: void - - name: srand - standards: - - stdc - return_type: void - arguments: - - type: unsigned int - - name: strfromd - standards: - - stdc - return_type: int - arguments: - - type: char *__restrict - - type: size_t - - type: const char *__restrict - - type: double - - name: strfromf - standards: - - stdc - return_type: int - arguments: - - type: char *__restrict - - type: size_t - - type: const char *__restrict - - type: float - - name: strfroml - standards: - - stdc - return_type: int - arguments: - - type: char *__restrict - - type: size_t - - type: const char *__restrict - - type: long double - - name: strtod - standards: - - stdc - return_type: double - arguments: - - type: const char *__restrict - - type: char **__restrict - - name: strtof - standards: - - stdc - return_type: float - arguments: - - type: const char *__restrict - - type: char **__restrict - - name: strtol - standards: - - stdc - return_type: long - arguments: - - type: const char *__restrict - - type: char **__restrict - - type: int - - name: strtold - standards: - - stdc - return_type: long double - arguments: - - type: const char *__restrict - - type: char **__restrict - - name: strtoll - standards: - - stdc - return_type: long long - arguments: - - type: const char *__restrict - - type: char **__restrict - - type: int - - name: strtoul - standards: - - stdc - return_type: unsigned long - arguments: - - type: const char *__restrict - - type: char **__restrict - - type: int - - name: strtoull - standards: - - stdc - return_type: unsigned long long - arguments: - - type: const char *__restrict - - type: char **__restrict - - type: int - - name: malloc - standards: - - stdc - return_type: void * - arguments: - - type: size_t - - name: calloc - standards: - - stdc - return_type: void * - arguments: - - type: size_t - - type: size_t - - name: realloc - standards: - - stdc - return_type: void * - arguments: - - type: void * - - type: size_t - - name: aligned_alloc - standards: - - stdc - return_type: void * - arguments: - - type: size_t - - type: size_t - - name: free - standards: - - stdc - return_type: void - arguments: - - type: void * - - name: _Exit - standards: - - stdc - return_type: _Noreturn void - arguments: - - type: int - - name: abort - standards: - - stdc - return_type: _Noreturn void - arguments: - - type: void - - name: at_quick_exit - standards: - - stdc - return_type: int - arguments: - - type: __atexithandler_t - - name: atexit - standards: - - stdc - return_type: int - arguments: - - type: __atexithandler_t - - name: exit - standards: - - stdc - return_type: _Noreturn void - arguments: - - type: int - - name: getenv - standards: - - stdc - return_type: char * - arguments: - - type: const char * - - name: quick_exit - standards: - - stdc - return_type: _Noreturn void - arguments: - - type: int +- name: _Exit + standards: + - stdc + return_type: _Noreturn void + arguments: + - type: int +- name: abort + standards: + - stdc + return_type: _Noreturn void + arguments: + - type: void +- name: abs + standards: + - stdc + return_type: int + arguments: + - type: int +- name: aligned_alloc + standards: + - stdc + return_type: void * + arguments: + - type: size_t + - type: size_t +- name: at_quick_exit + standards: + - stdc + return_type: int + arguments: + - type: __atexithandler_t +- name: atexit + standards: + - stdc + return_type: int + arguments: + - type: __atexithandler_t +- name: atof + standards: + - stdc + return_type: double + arguments: + - type: const char *__restrict +- name: atoi + standards: + - stdc + return_type: int + arguments: + - type: const char * +- name: atol + standards: + - stdc + return_type: long + arguments: + - type: const char * +- name: atoll + standards: + - stdc + return_type: long long + arguments: + - type: const char * +- name: bsearch + standards: + - stdc + return_type: void * + arguments: + - type: const void * + - type: const void * + - type: size_t + - type: size_t + - type: __bsearchcompare_t +- name: calloc + standards: + - stdc + return_type: void * + arguments: + - type: size_t + - type: size_t +- name: div + standards: + - stdc + return_type: div_t + arguments: + - type: int + - type: int +- name: exit + standards: + - stdc + return_type: _Noreturn void + arguments: + - type: int +- name: free + standards: + - stdc + return_type: void + arguments: + - type: void * +- name: getenv + standards: + - stdc + return_type: char * + arguments: + - type: const char * +- name: labs + standards: + - stdc + return_type: long + arguments: + - type: long +- name: ldiv + standards: + - stdc + return_type: ldiv_t + arguments: + - type: long + - type: long +- name: llabs + standards: + - stdc + return_type: long long + arguments: + - type: long long +- name: lldiv + standards: + - stdc + return_type: lldiv_t + arguments: + - type: long long + - type: long long +- name: malloc + standards: + - stdc + return_type: void * + arguments: + - type: size_t +- name: qsort + standards: + - stdc + return_type: void + arguments: + - type: void * + - type: size_t + - type: size_t + - type: __qsortcompare_t +- name: qsort_r + standards: + - GNUExtensions + return_type: void + arguments: + - type: void * + - type: size_t + - type: size_t + - type: __qsortrcompare_t + - type: void * +- name: quick_exit + standards: + - stdc + return_type: _Noreturn void + arguments: + - type: int +- name: rand + standards: + - stdc + return_type: int + arguments: + - type: void +- name: realloc + standards: + - stdc + return_type: void * + arguments: + - type: void * + - type: size_t +- name: srand + standards: + - stdc + return_type: void + arguments: + - type: unsigned int +- name: strfromd + standards: + - stdc + return_type: int + arguments: + - type: char *__restrict + - type: size_t + - type: const char *__restrict + - type: double +- name: strfromf + standards: + - stdc + return_type: int + arguments: + - type: char *__restrict + - type: size_t + - type: const char *__restrict + - type: float +- name: strfroml + standards: + - stdc + return_type: int + arguments: + - type: char *__restrict + - type: size_t + - type: const char *__restrict + - type: long double +- name: strtod + standards: + - stdc + return_type: double + arguments: + - type: const char *__restrict + - type: char **__restrict +- name: strtof + standards: + - stdc + return_type: float + arguments: + - type: const char *__restrict + - type: char **__restrict +- name: strtol + standards: + - stdc + return_type: long + arguments: + - type: const char *__restrict + - type: char **__restrict + - type: int +- name: strtold + standards: + - stdc + return_type: long double + arguments: + - type: const char *__restrict + - type: char **__restrict +- name: strtoll + standards: + - stdc + return_type: long long + arguments: + - type: const char *__restrict + - type: char **__restrict + - type: int +- name: strtoul + standards: + - stdc + return_type: unsigned long + arguments: + - type: const char *__restrict + - type: char **__restrict + - type: int +- name: strtoull + standards: + - stdc + return_type: unsigned long long + arguments: + - type: const char *__restrict + - type: char **__restrict + - type: int diff --git a/libc/newhdrgen/yaml/string.yaml b/libc/newhdrgen/yaml/string.yaml index 3287c8bdb6ccb..4176868fa65ac 100644 --- a/libc/newhdrgen/yaml/string.yaml +++ b/libc/newhdrgen/yaml/string.yaml @@ -1,302 +1,302 @@ header: string.h macros: [] types: - - type_name: size_t +- type_name: size_t enums: [] objects: [] functions: - - name: memcpy - standards: - - stdc - return_type: void * - arguments: - - type: void *__restrict - - type: const void *__restrict - - type: size_t - - name: memmove - standards: - - stdc - return_type: void * - arguments: - - type: void * - - type: const void * - - type: size_t - - name: memcmp - standards: - - stdc - return_type: int - arguments: - - type: const void * - - type: const void * - - type: size_t - - name: memchr - standards: - - stdc - return_type: void * - arguments: - - type: const void * - - type: int - - type: size_t - - name: memset - standards: - - stdc - return_type: void * - arguments: - - type: void * - - type: int - - type: size_t - - name: memset_explicit - standards: - - stdc - return_type: void * - arguments: - - type: void * - - type: int - - type: size_t - - name: strcpy - standards: - - stdc - return_type: char * - arguments: - - type: char *__restrict - - type: const char *__restrict - - name: strncpy - standards: - - stdc - return_type: char * - arguments: - - type: char *__restrict - - type: const char *__restrict - - type: size_t - - name: strcat - standards: - - stdc - return_type: char * - arguments: - - type: char *__restrict - - type: const char *__restrict - - name: strncat - standards: - - stdc - return_type: char * - arguments: - - type: char * - - type: const char * - - type: size_t - - name: strcmp - standards: - - stdc - return_type: int - arguments: - - type: const char * - - type: const char * - - name: strcoll - standards: - - stdc - return_type: int - arguments: - - type: const char * - - type: const char * - - name: strncmp - standards: - - stdc - return_type: int - arguments: - - type: const char * - - type: const char * - - type: size_t - - name: strxfrm - standards: - - stdc - return_type: size_t - arguments: - - type: char *__restrict - - type: const char *__restrict - - type: size_t - - name: strchr - standards: - - stdc - return_type: char * - arguments: - - type: const char * - - type: int - - name: strcspn - standards: - - stdc - return_type: size_t - arguments: - - type: const char * - - type: const char * - - name: strdup - return_type: char * - arguments: - - type: const char * - - name: strndup - standards: - - stdc - return_type: char * - arguments: - - type: const char * - - type: size_t - - name: strpbrk - standards: - - stdc - return_type: char * - arguments: - - type: const char * - - type: const char * - - name: strrchr - standards: - - stdc - return_type: char * - arguments: - - type: const char * - - type: int - - name: strspn - standards: - - stdc - return_type: size_t - arguments: - - type: const char * - - type: const char * - - name: strstr - standards: - - stdc - return_type: char * - arguments: - - type: const char * - - type: const char * - - name: strtok - standards: - - stdc - return_type: char * - arguments: - - type: char *__restrict - - type: const char *__restrict - - name: strerror - standards: - - stdc - return_type: char * - arguments: - - type: int - - name: strlen - standards: - - stdc - return_type: size_t - arguments: - - type: const char * - - name: memccpy - standards: - - POSIX - return_type: void * - arguments: - - type: void *__restrict - - type: const void *__restrict - - type: int - - type: size_t - - name: mempcpy - standards: - - POSIX - return_type: void * - arguments: - - type: void *__restrict - - type: const void *__restrict - - type: size_t - - name: stpcpy - standards: - - POSIX - return_type: char * - arguments: - - type: char *__restrict - - type: const char *__restrict - - name: stpncpy - standards: - - POSIX - return_type: char * - arguments: - - type: char *__restrict - - type: const char *__restrict - - type: size_t - - name: strnlen - standards: - - POSIX - return_type: size_t - arguments: - - type: const char * - - type: size_t - - name: strtok_r - standards: - - POSIX - return_type: char * - arguments: - - type: char *__restrict - - type: const char *__restrict - - type: char ** __restrict - - name: strsignal - standards: - - POSIX - return_type: char * - arguments: - - type: int - - name: memmem - standards: - - GNUExtensions - return_type: void * - arguments: - - type: const void * - - type: size_t - - type: const void * - - type: size_t - - name: memrchr - standards: - - GNUExtensions - return_type: void * - arguments: - - type: const void * - - type: int - - type: size_t - - name: strerror_r - standards: - - GNUExtensions - return_type: char * - arguments: - - type: int - - type: char * - - type: size_t - - name: strcasestr - standards: - - GNUExtensions - return_type: char * - arguments: - - type: const char * - - type: const char * - - name: strchrnul - standards: - - GNUExtensions - return_type: char * - arguments: - - type: const char * - - type: int - - name: strlcat - standards: - - BSDExtensions - return_type: size_t - arguments: - - type: const char *__restrict - - type: const char *__restrict - - type: size_t - - name: strlcpy - standards: - - BSDExtensions - return_type: size_t - arguments: - - type: const char *__restrict - - type: const char *__restrict - - type: size_t - - name: strsep - standards: - - BSDExtensions - return_type: char * - arguments: - - type: char **__restrict - - type: const char *__restrict +- name: memccpy + standards: + - POSIX + return_type: void * + arguments: + - type: void *__restrict + - type: const void *__restrict + - type: int + - type: size_t +- name: memchr + standards: + - stdc + return_type: void * + arguments: + - type: const void * + - type: int + - type: size_t +- name: memcmp + standards: + - stdc + return_type: int + arguments: + - type: const void * + - type: const void * + - type: size_t +- name: memcpy + standards: + - stdc + return_type: void * + arguments: + - type: void *__restrict + - type: const void *__restrict + - type: size_t +- name: memmem + standards: + - GNUExtensions + return_type: void * + arguments: + - type: const void * + - type: size_t + - type: const void * + - type: size_t +- name: memmove + standards: + - stdc + return_type: void * + arguments: + - type: void * + - type: const void * + - type: size_t +- name: mempcpy + standards: + - POSIX + return_type: void * + arguments: + - type: void *__restrict + - type: const void *__restrict + - type: size_t +- name: memrchr + standards: + - GNUExtensions + return_type: void * + arguments: + - type: const void * + - type: int + - type: size_t +- name: memset + standards: + - stdc + return_type: void * + arguments: + - type: void * + - type: int + - type: size_t +- name: memset_explicit + standards: + - stdc + return_type: void * + arguments: + - type: void * + - type: int + - type: size_t +- name: stpcpy + standards: + - POSIX + return_type: char * + arguments: + - type: char *__restrict + - type: const char *__restrict +- name: stpncpy + standards: + - POSIX + return_type: char * + arguments: + - type: char *__restrict + - type: const char *__restrict + - type: size_t +- name: strcasestr + standards: + - GNUExtensions + return_type: char * + arguments: + - type: const char * + - type: const char * +- name: strcat + standards: + - stdc + return_type: char * + arguments: + - type: char *__restrict + - type: const char *__restrict +- name: strchr + standards: + - stdc + return_type: char * + arguments: + - type: const char * + - type: int +- name: strchrnul + standards: + - GNUExtensions + return_type: char * + arguments: + - type: const char * + - type: int +- name: strcmp + standards: + - stdc + return_type: int + arguments: + - type: const char * + - type: const char * +- name: strcoll + standards: + - stdc + return_type: int + arguments: + - type: const char * + - type: const char * +- name: strcpy + standards: + - stdc + return_type: char * + arguments: + - type: char *__restrict + - type: const char *__restrict +- name: strcspn + standards: + - stdc + return_type: size_t + arguments: + - type: const char * + - type: const char * +- name: strdup + return_type: char * + arguments: + - type: const char * +- name: strerror + standards: + - stdc + return_type: char * + arguments: + - type: int +- name: strerror_r + standards: + - GNUExtensions + return_type: char * + arguments: + - type: int + - type: char * + - type: size_t +- name: strlcat + standards: + - BSDExtensions + return_type: size_t + arguments: + - type: const char *__restrict + - type: const char *__restrict + - type: size_t +- name: strlcpy + standards: + - BSDExtensions + return_type: size_t + arguments: + - type: const char *__restrict + - type: const char *__restrict + - type: size_t +- name: strlen + standards: + - stdc + return_type: size_t + arguments: + - type: const char * +- name: strncat + standards: + - stdc + return_type: char * + arguments: + - type: char * + - type: const char * + - type: size_t +- name: strncmp + standards: + - stdc + return_type: int + arguments: + - type: const char * + - type: const char * + - type: size_t +- name: strncpy + standards: + - stdc + return_type: char * + arguments: + - type: char *__restrict + - type: const char *__restrict + - type: size_t +- name: strndup + standards: + - stdc + return_type: char * + arguments: + - type: const char * + - type: size_t +- name: strnlen + standards: + - POSIX + return_type: size_t + arguments: + - type: const char * + - type: size_t +- name: strpbrk + standards: + - stdc + return_type: char * + arguments: + - type: const char * + - type: const char * +- name: strrchr + standards: + - stdc + return_type: char * + arguments: + - type: const char * + - type: int +- name: strsep + standards: + - BSDExtensions + return_type: char * + arguments: + - type: char **__restrict + - type: const char *__restrict +- name: strsignal + standards: + - POSIX + return_type: char * + arguments: + - type: int +- name: strspn + standards: + - stdc + return_type: size_t + arguments: + - type: const char * + - type: const char * +- name: strstr + standards: + - stdc + return_type: char * + arguments: + - type: const char * + - type: const char * +- name: strtok + standards: + - stdc + return_type: char * + arguments: + - type: char *__restrict + - type: const char *__restrict +- name: strtok_r + standards: + - POSIX + return_type: char * + arguments: + - type: char *__restrict + - type: const char *__restrict + - type: char ** __restrict +- name: strxfrm + standards: + - stdc + return_type: size_t + arguments: + - type: char *__restrict + - type: const char *__restrict + - type: size_t diff --git a/libc/newhdrgen/yaml/strings.yaml b/libc/newhdrgen/yaml/strings.yaml index eda8a5ae1bb90..28d50697f33fb 100644 --- a/libc/newhdrgen/yaml/strings.yaml +++ b/libc/newhdrgen/yaml/strings.yaml @@ -4,55 +4,55 @@ types: [] enums: [] objects: [] functions: - - name: bcopy - standards: - - llvm_libc_ext - return_type: void - arguments: - - type: const void * - - type: void * - - type: size_t - - name: bzero - standards: - - llvm_libc_ext - return_type: void - arguments: - - type: void * - - type: size_t - - name: bcmp - standards: - - llvm_libc_ext - return_type: int - arguments: - - type: const void * - - type: const void * - - type: size_t - - name: strcasecmp - standards: - - BSDExtensions - return_type: int - arguments: - - type: const char * - - type: const char * - - name: strncasecmp - standards: - - BSDExtensions - return_type: int - arguments: - - type: const char * - - type: const char * - - type: size_t - - name: index - standards: - - BSDExtensions - return_type: char * - arguments: - - type: const char * - - type: int - - name: rindex - standards: - - BSDExtensions - return_type: char * - arguments: - - type: const char * - - type: int +- name: bcmp + standards: + - llvm_libc_ext + return_type: int + arguments: + - type: const void * + - type: const void * + - type: size_t +- name: bcopy + standards: + - llvm_libc_ext + return_type: void + arguments: + - type: const void * + - type: void * + - type: size_t +- name: bzero + standards: + - llvm_libc_ext + return_type: void + arguments: + - type: void * + - type: size_t +- name: index + standards: + - BSDExtensions + return_type: char * + arguments: + - type: const char * + - type: int +- name: rindex + standards: + - BSDExtensions + return_type: char * + arguments: + - type: const char * + - type: int +- name: strcasecmp + standards: + - BSDExtensions + return_type: int + arguments: + - type: const char * + - type: const char * +- name: strncasecmp + standards: + - BSDExtensions + return_type: int + arguments: + - type: const char * + - type: const char * + - type: size_t diff --git a/libc/newhdrgen/yaml/sys/auxv.yaml b/libc/newhdrgen/yaml/sys/auxv.yaml index 9d546b3588243..a032507e24c69 100644 --- a/libc/newhdrgen/yaml/sys/auxv.yaml +++ b/libc/newhdrgen/yaml/sys/auxv.yaml @@ -4,9 +4,9 @@ types: [] enums: [] objects: [] functions: - - name: getauxval - standards: - - GNUExtensions - return_type: unsigned long - arguments: - - type: unsigned long +- name: getauxval + standards: + - GNUExtensions + return_type: unsigned long + arguments: + - type: unsigned long diff --git a/libc/newhdrgen/yaml/sys/epoll.yaml b/libc/newhdrgen/yaml/sys/epoll.yaml index 3b55ce4f24d49..1cc60869326ea 100644 --- a/libc/newhdrgen/yaml/sys/epoll.yaml +++ b/libc/newhdrgen/yaml/sys/epoll.yaml @@ -1,60 +1,60 @@ header: sys-epoll.h macros: [] types: - - type_name: struct_epoll_event - - type_name: struct_epoll_data - - type_name: sigset_t - - type_name: struct_timespec +- type_name: struct_epoll_event +- type_name: struct_epoll_data +- type_name: sigset_t +- type_name: struct_timespec enums: [] objects: [] functions: - - name: epoll_create - standards: - - Linux - return_type: int - arguments: - - type: int - - name: epoll_create1 - standards: - - Linux - return_type: int - arguments: - - type: int - - name: epoll_ctl - standards: - - Linux - return_type: int - arguments: - - type: int - - type: int - - type: int - - type: struct epoll_event * - - name: epoll_wait - standards: - - Linux - return_type: int - arguments: - - type: int - - type: struct epoll_event * - - type: int - - type: int - - name: epoll_pwait - standards: - - Linux - return_type: int - arguments: - - type: int - - type: struct epoll_event * - - type: int - - type: int - - type: const sigset_t * - - name: epoll_pwait2 - standards: - - Linux - return_type: int - arguments: - - type: int - - type: struct epoll_event * - - type: int - - type: const struct timespec * - - type: const sigset_t * +- name: epoll_create + standards: + - Linux + return_type: int + arguments: + - type: int +- name: epoll_create1 + standards: + - Linux + return_type: int + arguments: + - type: int +- name: epoll_ctl + standards: + - Linux + return_type: int + arguments: + - type: int + - type: int + - type: int + - type: struct epoll_event * +- name: epoll_pwait + standards: + - Linux + return_type: int + arguments: + - type: int + - type: struct epoll_event * + - type: int + - type: int + - type: const sigset_t * +- name: epoll_pwait2 + standards: + - Linux + return_type: int + arguments: + - type: int + - type: struct epoll_event * + - type: int + - type: const struct timespec * + - type: const sigset_t * +- name: epoll_wait + standards: + - Linux + return_type: int + arguments: + - type: int + - type: struct epoll_event * + - type: int + - type: int diff --git a/libc/newhdrgen/yaml/sys/mman.yaml b/libc/newhdrgen/yaml/sys/mman.yaml index efddcaf071b67..2c5b92123a831 100644 --- a/libc/newhdrgen/yaml/sys/mman.yaml +++ b/libc/newhdrgen/yaml/sys/mman.yaml @@ -1,114 +1,114 @@ header: sys-mman.h macros: [] types: - - type_name: mode_t - - type_name: size_t - - type_name: off_t +- type_name: mode_t +- type_name: size_t +- type_name: off_t enums: [] objects: [] functions: - - name: madvise - standards: - - POSIX - return_type: int - arguments: - - type: void * - - type: size_t - - type: int - - name: mmap - standards: - - POSIX - return_type: void * - arguments: - - type: void * - - type: size_t - - type: int - - type: int - - type: int - - type: off_t - - name: mprotect - standards: - - POSIX - return_type: int - arguments: - - type: void * - - type: size_t - - type: int - - name: munmap - standards: - - POSIX - return_type: int - arguments: - - type: void * - - type: size_t - - name: posix_madvise - standards: - - POSIX - return_type: int - arguments: - - type: void * - - type: size_t - - type: int - - name: mincore - standards: - - Linux - return_type: int - arguments: - - type: void * - - type: size_t - - type: unsigned char * - - name: mlock - standards: - - POSIX - return_type: int - arguments: - - type: void * - - type: size_t - - name: mlock2 - standards: - - Linux - return_type: int - arguments: - - type: void * - - type: size_t - - type: unsigned int - - name: munlock - standards: POSIX - return_type: int - arguments: - - type: void * - - type: size_t - - name: mlockall - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: munlockall - standards: - - POSIX - return_type: int - arguments: - - type: void - - name: msync - standards: - - POSIX - return_type: int - arguments: - - type: void * - - type: size_t - - type: int - - name: shm_open - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: int - - type: mode_t - - name: shm_unlink - standards: - - POSIX - return_type: int - arguments: - - type: const char * +- name: madvise + standards: + - POSIX + return_type: int + arguments: + - type: void * + - type: size_t + - type: int +- name: mincore + standards: + - Linux + return_type: int + arguments: + - type: void * + - type: size_t + - type: unsigned char * +- name: mlock + standards: + - POSIX + return_type: int + arguments: + - type: void * + - type: size_t +- name: mlock2 + standards: + - Linux + return_type: int + arguments: + - type: void * + - type: size_t + - type: unsigned int +- name: mlockall + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: mmap + standards: + - POSIX + return_type: void * + arguments: + - type: void * + - type: size_t + - type: int + - type: int + - type: int + - type: off_t +- name: mprotect + standards: + - POSIX + return_type: int + arguments: + - type: void * + - type: size_t + - type: int +- name: msync + standards: + - POSIX + return_type: int + arguments: + - type: void * + - type: size_t + - type: int +- name: munlock + standards: POSIX + return_type: int + arguments: + - type: void * + - type: size_t +- name: munlockall + standards: + - POSIX + return_type: int + arguments: + - type: void +- name: munmap + standards: + - POSIX + return_type: int + arguments: + - type: void * + - type: size_t +- name: posix_madvise + standards: + - POSIX + return_type: int + arguments: + - type: void * + - type: size_t + - type: int +- name: shm_open + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: int + - type: mode_t +- name: shm_unlink + standards: + - POSIX + return_type: int + arguments: + - type: const char * diff --git a/libc/newhdrgen/yaml/sys/prctl.yaml b/libc/newhdrgen/yaml/sys/prctl.yaml index 82374be87d5d0..774c842f440e7 100644 --- a/libc/newhdrgen/yaml/sys/prctl.yaml +++ b/libc/newhdrgen/yaml/sys/prctl.yaml @@ -4,13 +4,13 @@ types: [] enums: [] objects: [] functions: - - name: prctl - standards: - - Linux - return_type: int - arguments: - - type: int - - type: unsigned long - - type: unsigned long - - type: unsigned long - - type: unsigned long +- name: prctl + standards: + - Linux + return_type: int + arguments: + - type: int + - type: unsigned long + - type: unsigned long + - type: unsigned long + - type: unsigned long diff --git a/libc/newhdrgen/yaml/sys/random.yaml b/libc/newhdrgen/yaml/sys/random.yaml index 228bb50d5db99..32788cb88928d 100644 --- a/libc/newhdrgen/yaml/sys/random.yaml +++ b/libc/newhdrgen/yaml/sys/random.yaml @@ -1,16 +1,16 @@ header: sys-random.h macros: [] types: - - type_name: ssize_t - - type_name: size_t +- type_name: ssize_t +- type_name: size_t enums: [] objects: [] functions: - - name: getrandom - standards: - - Linux - return_type: ssize_t - arguments: - - type: void * - - type: size_t - - type: unsigned int +- name: getrandom + standards: + - Linux + return_type: ssize_t + arguments: + - type: void * + - type: size_t + - type: unsigned int diff --git a/libc/newhdrgen/yaml/sys/resource.yaml b/libc/newhdrgen/yaml/sys/resource.yaml index 85ea1ad12f19f..9806243148f54 100644 --- a/libc/newhdrgen/yaml/sys/resource.yaml +++ b/libc/newhdrgen/yaml/sys/resource.yaml @@ -1,20 +1,20 @@ header: sys-resource.h macros: [] types: - - type_name: struct_rlimit - - type_name: rlim_t +- type_name: struct_rlimit +- type_name: rlim_t enums: [] objects: [] functions: - - name: getrlimit - standards: - - POSIX - return_type: int - arguments: - - type: struct rlimit * - - name: setrlimit - standards: - - POSIX - return_type: int - arguments: - - type: const struct rlimit +- name: getrlimit + standards: + - POSIX + return_type: int + arguments: + - type: struct rlimit * +- name: setrlimit + standards: + - POSIX + return_type: int + arguments: + - type: const struct rlimit diff --git a/libc/newhdrgen/yaml/sys/select.yaml b/libc/newhdrgen/yaml/sys/select.yaml index c6806122aa816..d089fa8e02b3d 100644 --- a/libc/newhdrgen/yaml/sys/select.yaml +++ b/libc/newhdrgen/yaml/sys/select.yaml @@ -1,22 +1,22 @@ header: sys-select.h macros: [] types: - - type_name: struct_timeval - - type_name: struct_timespec - - type_name: suseconds_t - - type_name: sigset_t - - type_name: time_t - - type_name: fd_set +- type_name: struct_timeval +- type_name: struct_timespec +- type_name: suseconds_t +- type_name: sigset_t +- type_name: time_t +- type_name: fd_set enums: [] objects: [] functions: - - name: select - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: fd_set *__restrict - - type: fd_set *__restrict - - type: fd_set *__restrict - - type: struct timeval *__restrict +- name: select + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: fd_set *__restrict + - type: fd_set *__restrict + - type: fd_set *__restrict + - type: struct timeval *__restrict diff --git a/libc/newhdrgen/yaml/sys/sendfile.yaml b/libc/newhdrgen/yaml/sys/sendfile.yaml index 7e45e40e171da..e9d23bf032efc 100644 --- a/libc/newhdrgen/yaml/sys/sendfile.yaml +++ b/libc/newhdrgen/yaml/sys/sendfile.yaml @@ -1,18 +1,18 @@ header: sys-sendfile.h macros: [] types: - - type_name: ssize_t - - type_name: size_t - - type_name: off_t +- type_name: ssize_t +- type_name: size_t +- type_name: off_t enums: [] objects: [] functions: - - name: sendfile - standards: - - GNUExtensions - return_type: ssize_t - arguments: - - type: int - - type: int - - type: off_t * - - type: size_t +- name: sendfile + standards: + - GNUExtensions + return_type: ssize_t + arguments: + - type: int + - type: int + - type: off_t * + - type: size_t diff --git a/libc/newhdrgen/yaml/sys/socket.yaml b/libc/newhdrgen/yaml/sys/socket.yaml index 06ffa295a17f0..6cb46ab880f5d 100644 --- a/libc/newhdrgen/yaml/sys/socket.yaml +++ b/libc/newhdrgen/yaml/sys/socket.yaml @@ -1,26 +1,26 @@ header: sys-socket.h macros: [] types: - - type_name: struct_sockaddr_un - - type_name: struct_sockaddr - - type_name: socklen_t - - type_name: sa_family_t +- type_name: struct_sockaddr_un +- type_name: struct_sockaddr +- type_name: socklen_t +- type_name: sa_family_t enums: [] objects: [] functions: - - name: socket - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: int - - type: int - - name: bind - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const struct sockaddr * - - type: socklen_t +- name: bind + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const struct sockaddr * + - type: socklen_t +- name: socket + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: int + - type: int diff --git a/libc/newhdrgen/yaml/sys/stat.yaml b/libc/newhdrgen/yaml/sys/stat.yaml index ed500f832f90e..a9be97448b3a4 100644 --- a/libc/newhdrgen/yaml/sys/stat.yaml +++ b/libc/newhdrgen/yaml/sys/stat.yaml @@ -1,77 +1,77 @@ header: sys-stat.h macros: [] types: - - type_name: blkcnt_t - - type_name: blksize_t - - type_name: off_t - - type_name: struct_timeval - - type_name: gid_t - - type_name: struct_stat - - type_name: uid_t - - type_name: nlink_t - - type_name: dev_t - - type_name: struct_timespec - - type_name: ino_t - - type_name: mode_t +- type_name: blkcnt_t +- type_name: blksize_t +- type_name: off_t +- type_name: struct_timeval +- type_name: gid_t +- type_name: struct_stat +- type_name: uid_t +- type_name: nlink_t +- type_name: dev_t +- type_name: struct_timespec +- type_name: ino_t +- type_name: mode_t enums: [] objects: [] functions: - - name: chmod - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: mode_t - - name: fchmod - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: mode_t - - name: fchmodat - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const char * - - type: mode_t - - type: int - - name: fstat - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: struct stat * - - name: lstat - standards: - - POSIX - return_type: int - arguments: - - type: const char *__restrict - - type: struct stat *__restrict - - name: mkdir - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: mode_t - - name: mkdirat - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const char * - - type: mode_t - - name: stat - standards: - - POSIX - return_type: int - arguments: - - type: const char *__restrict - - type: struct stat *__restrict +- name: chmod + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: mode_t +- name: fchmod + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: mode_t +- name: fchmodat + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const char * + - type: mode_t + - type: int +- name: fstat + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: struct stat * +- name: lstat + standards: + - POSIX + return_type: int + arguments: + - type: const char *__restrict + - type: struct stat *__restrict +- name: mkdir + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: mode_t +- name: mkdirat + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const char * + - type: mode_t +- name: stat + standards: + - POSIX + return_type: int + arguments: + - type: const char *__restrict + - type: struct stat *__restrict diff --git a/libc/newhdrgen/yaml/sys/statvfs.yaml b/libc/newhdrgen/yaml/sys/statvfs.yaml index 952ee88c82e9d..e74aedc72cd4e 100644 --- a/libc/newhdrgen/yaml/sys/statvfs.yaml +++ b/libc/newhdrgen/yaml/sys/statvfs.yaml @@ -1,23 +1,23 @@ header: sys-statvfs.h macros: [] types: - - type_name: struct_statvfs - - type_name: fsblkcnt_t - - type_name: fsfilcnt_t +- type_name: struct_statvfs +- type_name: fsblkcnt_t +- type_name: fsfilcnt_t enums: [] objects: [] functions: - - name: statvfs - standards: - - POSIX - return_type: int - arguments: - - type: const char *__restrict - - type: struct statvfs *__restrict - - name: fstatvfs - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: struct statvfs * +- name: fstatvfs + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: struct statvfs * +- name: statvfs + standards: + - POSIX + return_type: int + arguments: + - type: const char *__restrict + - type: struct statvfs *__restrict diff --git a/libc/newhdrgen/yaml/sys/types.yaml b/libc/newhdrgen/yaml/sys/types.yaml index 15eaf107f6915..5c335d311bb4f 100644 --- a/libc/newhdrgen/yaml/sys/types.yaml +++ b/libc/newhdrgen/yaml/sys/types.yaml @@ -2,30 +2,30 @@ header: sys-types.h standards: POSIX macros: [] types: - - type_name: uid_t - - type_name: time_t - - type_name: pthread_t - - type_name: pthread_rwlock_t - - type_name: pthread_rwlockattr_t - - type_name: pthread_mutex_t - - type_name: blkcnt_t - - type_name: blksize_t - - type_name: clockid_t - - type_name: ssize_t - - type_name: pthread_mutexattr_t - - type_name: ino_t - - type_name: pthread_once_t - - type_name: mode_t - - type_name: dev_t - - type_name: pthread_attr_t - - type_name: gid_t - - type_name: pid_t - - type_name: nlink_t - - type_name: suseconds_t - - type_name: off_t - - type_name: size_t - - type_name: pthread_key_t - - type_name: pthread_condattr_t +- type_name: uid_t +- type_name: time_t +- type_name: pthread_t +- type_name: pthread_rwlock_t +- type_name: pthread_rwlockattr_t +- type_name: pthread_mutex_t +- type_name: blkcnt_t +- type_name: blksize_t +- type_name: clockid_t +- type_name: ssize_t +- type_name: pthread_mutexattr_t +- type_name: ino_t +- type_name: pthread_once_t +- type_name: mode_t +- type_name: dev_t +- type_name: pthread_attr_t +- type_name: gid_t +- type_name: pid_t +- type_name: nlink_t +- type_name: suseconds_t +- type_name: off_t +- type_name: size_t +- type_name: pthread_key_t +- type_name: pthread_condattr_t enums: [] objects: [] functions: [] diff --git a/libc/newhdrgen/yaml/sys/utsname.yaml b/libc/newhdrgen/yaml/sys/utsname.yaml index eecd55b180829..daee05728336a 100644 --- a/libc/newhdrgen/yaml/sys/utsname.yaml +++ b/libc/newhdrgen/yaml/sys/utsname.yaml @@ -1,13 +1,13 @@ header: sys-utsname.h macros: [] types: - - type_name: struct_utsname +- type_name: struct_utsname enums: [] objects: [] functions: - - name: uname - standards: - - POSIX - return_type: int - arguments: - - type: struct utsname * +- name: uname + standards: + - POSIX + return_type: int + arguments: + - type: struct utsname * diff --git a/libc/newhdrgen/yaml/sys/wait.yaml b/libc/newhdrgen/yaml/sys/wait.yaml index 4f0c69baee2c4..760c8c6b0ca84 100644 --- a/libc/newhdrgen/yaml/sys/wait.yaml +++ b/libc/newhdrgen/yaml/sys/wait.yaml @@ -1,33 +1,33 @@ header: sys-wait.h macros: [] types: - - type_name: siginfo_t - - type_name: struct_rusage - - type_name: pid_t +- type_name: siginfo_t +- type_name: struct_rusage +- type_name: pid_t enums: [] objects: [] functions: - - name: wait - standards: - - POSIX - return_type: pid_t - arguments: - - type: int * - - name: wait4 - standards: - - BSDExtensions - - POSIX - return_type: pid_t - arguments: - - type: pid_t - - type: int * - - type: int - - type: struct rusage * - - name: waitpid - standards: - - POSIX - return_type: pid_t - arguments: - - type: pid_t - - type: int * - - type: int +- name: wait + standards: + - POSIX + return_type: pid_t + arguments: + - type: int * +- name: wait4 + standards: + - BSDExtensions + - POSIX + return_type: pid_t + arguments: + - type: pid_t + - type: int * + - type: int + - type: struct rusage * +- name: waitpid + standards: + - POSIX + return_type: pid_t + arguments: + - type: pid_t + - type: int * + - type: int diff --git a/libc/newhdrgen/yaml/termios.yaml b/libc/newhdrgen/yaml/termios.yaml index 7e4a0ff1d6a18..b61b938876c8f 100644 --- a/libc/newhdrgen/yaml/termios.yaml +++ b/libc/newhdrgen/yaml/termios.yaml @@ -1,85 +1,85 @@ header: termios.h macros: [] types: - - type_name: tcflag_t - - type_name: struct_termios - - type_name: speed_t - - type_name: pid_t - - type_name: cc_t +- type_name: tcflag_t +- type_name: struct_termios +- type_name: speed_t +- type_name: pid_t +- type_name: cc_t enums: [] objects: [] functions: - - name: cfgetispeed - standards: - - POSIX - return_type: speed_t - arguments: - - type: const struct termios * - - name: cfgetospeed - standards: - - POSIX - return_type: speed_t - arguments: - - type: const struct termios * - - name: cfsetispeed - standards: - - POSIX - return_type: speed_t - arguments: - - type: struct termios * - - type: speed_t - - name: cfsetospeed - standards: - - POSIX - return_type: speed_t - arguments: - - type: struct termios * - - type: speed_t - - name: tcgetattr - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: struct termios * - - name: tcgetsid - standards: - - POSIX - return_type: pid_t - arguments: - - type: int - - name: tcdrain - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: tcflow - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: int - - name: tcflush - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: int - - name: tcsendbreak - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: int - - name: tcsetattr - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: int - - type: struct termios * +- name: cfgetispeed + standards: + - POSIX + return_type: speed_t + arguments: + - type: const struct termios * +- name: cfgetospeed + standards: + - POSIX + return_type: speed_t + arguments: + - type: const struct termios * +- name: cfsetispeed + standards: + - POSIX + return_type: speed_t + arguments: + - type: struct termios * + - type: speed_t +- name: cfsetospeed + standards: + - POSIX + return_type: speed_t + arguments: + - type: struct termios * + - type: speed_t +- name: tcdrain + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: tcflow + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: int +- name: tcflush + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: int +- name: tcgetattr + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: struct termios * +- name: tcgetsid + standards: + - POSIX + return_type: pid_t + arguments: + - type: int +- name: tcsendbreak + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: int +- name: tcsetattr + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: int + - type: struct termios * diff --git a/libc/newhdrgen/yaml/threads.yaml b/libc/newhdrgen/yaml/threads.yaml index cceb48df6a723..b4b53c2b190e1 100644 --- a/libc/newhdrgen/yaml/threads.yaml +++ b/libc/newhdrgen/yaml/threads.yaml @@ -1,161 +1,161 @@ header: threads.h macros: - - macro_name: ONCE_FLAG_INIT - macro_value: "{0}" +- macro_name: ONCE_FLAG_INIT + macro_value: '{0}' types: - - type_name: once_flag - - type_name: __call_once_func_t - - type_name: cnd_t - - type_name: mtx_t - - type_name: thrd_start_t - - type_name: thrd_t - - type_name: tss_t - - type_name: tss_dtor_t +- type_name: once_flag +- type_name: __call_once_func_t +- type_name: cnd_t +- type_name: mtx_t +- type_name: thrd_start_t +- type_name: thrd_t +- type_name: tss_t +- type_name: tss_dtor_t enums: - - name: mtx_plain - value: null - - name: mtx_recursive - value: null - - name: mtx_timed - value: null - - name: thrd_timedout - value: null - - name: thrd_success - value: null - - name: thrd_busy - value: null - - name: thrd_error - value: null - - name: thrd_nomem - value: null +- name: mtx_plain + value: null +- name: mtx_recursive + value: null +- name: mtx_timed + value: null +- name: thrd_timedout + value: null +- name: thrd_success + value: null +- name: thrd_busy + value: null +- name: thrd_error + value: null +- name: thrd_nomem + value: null objects: [] functions: - - name: call_once - standards: - - stdc - return_type: void - arguments: - - type: once_flag * - - type: __call_once_func_t - - name: cnd_broadcast - standards: - - stdc - return_type: int - arguments: - - type: cnd_t * - - name: cnd_destroy - standards: - - stdc - return_type: void - arguments: - - type: cnd_t * - - name: cnd_init - standards: - - stdc - return_type: int - arguments: - - type: cnd_t * - - name: cnd_signal - standards: - - stdc - return_type: int - arguments: - - type: cnd_t * - - name: cnd_wait - standards: - - stdc - return_type: int - arguments: - - type: cnd_t * - - type: mtx_t * - - name: mtx_init - standards: - - stdc - return_type: int - arguments: - - type: mtx_t * - - type: int - - name: mtx_destroy - standards: - - stdc - return_type: int - arguments: - - type: void - - name: mtx_lock - standards: - - stdc - return_type: int - arguments: - - type: mtx_t * - - name: mtx_unlock - standards: - - stdc - return_type: int - arguments: - - type: mtx_t * - - name: thrd_create - standards: - - stdc - return_type: int - arguments: - - type: thrd_t * - - type: thrd_start_t - - type: void * - - name: thrd_join - standards: - - stdc - return_type: int - arguments: - - type: thrd_t - - type: int * - - name: thrd_detach - standards: - - stdc - return_type: int - arguments: - - type: thrd_t - - name: thrd_current - standards: - - stdc - return_type: thrd_t - arguments: - - type: void - - name: thrd_equal - standards: - - stdc - return_type: int - arguments: - - type: thrd_t - - type: thrd_t - - name: thrd_exit - standards: - - stdc - return_type: void - arguments: - - type: int - - name: tss_create - standards: - - stdc - return_type: int - arguments: - - type: tss_t * - - type: tss_dtor_t - - name: tss_delete - standards: - - stdc - return_type: int - arguments: - - type: tss_t - - name: tss_get - standards: - - stdc - return_type: void * - arguments: - - type: tss_t - - name: tss_set - standards: - - stdc - return_type: int - arguments: - - type: tss_t - - type: void * +- name: call_once + standards: + - stdc + return_type: void + arguments: + - type: once_flag * + - type: __call_once_func_t +- name: cnd_broadcast + standards: + - stdc + return_type: int + arguments: + - type: cnd_t * +- name: cnd_destroy + standards: + - stdc + return_type: void + arguments: + - type: cnd_t * +- name: cnd_init + standards: + - stdc + return_type: int + arguments: + - type: cnd_t * +- name: cnd_signal + standards: + - stdc + return_type: int + arguments: + - type: cnd_t * +- name: cnd_wait + standards: + - stdc + return_type: int + arguments: + - type: cnd_t * + - type: mtx_t * +- name: mtx_destroy + standards: + - stdc + return_type: int + arguments: + - type: void +- name: mtx_init + standards: + - stdc + return_type: int + arguments: + - type: mtx_t * + - type: int +- name: mtx_lock + standards: + - stdc + return_type: int + arguments: + - type: mtx_t * +- name: mtx_unlock + standards: + - stdc + return_type: int + arguments: + - type: mtx_t * +- name: thrd_create + standards: + - stdc + return_type: int + arguments: + - type: thrd_t * + - type: thrd_start_t + - type: void * +- name: thrd_current + standards: + - stdc + return_type: thrd_t + arguments: + - type: void +- name: thrd_detach + standards: + - stdc + return_type: int + arguments: + - type: thrd_t +- name: thrd_equal + standards: + - stdc + return_type: int + arguments: + - type: thrd_t + - type: thrd_t +- name: thrd_exit + standards: + - stdc + return_type: void + arguments: + - type: int +- name: thrd_join + standards: + - stdc + return_type: int + arguments: + - type: thrd_t + - type: int * +- name: tss_create + standards: + - stdc + return_type: int + arguments: + - type: tss_t * + - type: tss_dtor_t +- name: tss_delete + standards: + - stdc + return_type: int + arguments: + - type: tss_t +- name: tss_get + standards: + - stdc + return_type: void * + arguments: + - type: tss_t +- name: tss_set + standards: + - stdc + return_type: int + arguments: + - type: tss_t + - type: void * diff --git a/libc/newhdrgen/yaml/time.yaml b/libc/newhdrgen/yaml/time.yaml index a4605a23fdc03..c7a03f5db52b8 100644 --- a/libc/newhdrgen/yaml/time.yaml +++ b/libc/newhdrgen/yaml/time.yaml @@ -1,84 +1,84 @@ header: time.h macros: [] types: - - type_name: struct_timeval - - type_name: clockid_t - - type_name: struct_timespec - - type_name: struct_tm - - type_name: time_t - - type_name: clock_t +- type_name: struct_timeval +- type_name: clockid_t +- type_name: struct_timespec +- type_name: struct_tm +- type_name: time_t +- type_name: clock_t enums: [] objects: [] functions: - - name: asctime - standard: - - stdc - return_type: char * - arguments: - - type: const struct tm * - - name: asctime_r - standard: - - stdc - return_type: char * - arguments: - - type: struct tm * - - type: char * - - name: clock_gettime - standard: - - POSIX - return_type: int - arguments: - - type: clockid_t - - type: struct timespec * - - name: clock - standard: - - stdc - return_type: clock_t - arguments: - - type: void - - name: difftime - standard: - - stdc - return_type: double - arguments: - - type: time_t - - type: time_t - - name: gettimeofday - standard: - - POSIX - return_type: int - arguments: - - type: struct timeval * - - type: void * - - name: gmtime - standard: - - stdc - return_type: struct tm * - arguments: - - type: time_t * - - name: gmtime_r - standard: - - stdc - return_type: struct tm * - arguments: - - type: time_t * - - type: struct tm * - - name: mktime - standard: - - stdc - return_type: time_t - arguments: - - type: struct tm * - - name: nanosleep - standard: - - POSIX - return_type: int - arguments: - - type: const struct timespec * - - type: struct timespec * - - name: time - standard: - - stdc - return_type: time_t - arguments: - - type: time_t * +- name: asctime + standard: + - stdc + return_type: char * + arguments: + - type: const struct tm * +- name: asctime_r + standard: + - stdc + return_type: char * + arguments: + - type: struct tm * + - type: char * +- name: clock + standard: + - stdc + return_type: clock_t + arguments: + - type: void +- name: clock_gettime + standard: + - POSIX + return_type: int + arguments: + - type: clockid_t + - type: struct timespec * +- name: difftime + standard: + - stdc + return_type: double + arguments: + - type: time_t + - type: time_t +- name: gettimeofday + standard: + - POSIX + return_type: int + arguments: + - type: struct timeval * + - type: void * +- name: gmtime + standard: + - stdc + return_type: struct tm * + arguments: + - type: time_t * +- name: gmtime_r + standard: + - stdc + return_type: struct tm * + arguments: + - type: time_t * + - type: struct tm * +- name: mktime + standard: + - stdc + return_type: time_t + arguments: + - type: struct tm * +- name: nanosleep + standard: + - POSIX + return_type: int + arguments: + - type: const struct timespec * + - type: struct timespec * +- name: time + standard: + - stdc + return_type: time_t + arguments: + - type: time_t * diff --git a/libc/newhdrgen/yaml/uchar.yaml b/libc/newhdrgen/yaml/uchar.yaml index dd111af6294d7..4f069ebd0acf0 100644 --- a/libc/newhdrgen/yaml/uchar.yaml +++ b/libc/newhdrgen/yaml/uchar.yaml @@ -1,12 +1,12 @@ header: uchar.h standards: - - stdc +- stdc macros: [] types: - - type_name: char32_t - - type_name: char16_t - - type_name: char8_t - - type_name: mbstate_t +- type_name: char32_t +- type_name: char16_t +- type_name: char8_t +- type_name: mbstate_t enums: [] objects: [] functions: [] diff --git a/libc/newhdrgen/yaml/unistd.yaml b/libc/newhdrgen/yaml/unistd.yaml index f52ddf41f2451..01a0043290f0b 100644 --- a/libc/newhdrgen/yaml/unistd.yaml +++ b/libc/newhdrgen/yaml/unistd.yaml @@ -1,315 +1,315 @@ header: unistd.h macros: [] types: - - type_name: uid_t - - type_name: ssize_t - - type_name: size_t - - type_name: pid_t - - type_name: off_t - - type_name: __getoptargv_t - - type_name: __exec_envp_t - - type_name: __exec_argv_t +- type_name: uid_t +- type_name: ssize_t +- type_name: size_t +- type_name: pid_t +- type_name: off_t +- type_name: __getoptargv_t +- type_name: __exec_envp_t +- type_name: __exec_argv_t enums: [] objects: - - object_name: environ - object_type: char ** - - object_name: optarg - object_type: char * - - object_name: optind - object_type: int - - object_name: opterr - object_type: int - - object_name: optopt - object_type: int +- object_name: environ + object_type: char ** +- object_name: optarg + object_type: char * +- object_name: optind + object_type: int +- object_name: opterr + object_type: int +- object_name: optopt + object_type: int functions: - - name: access - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: int - - name: chdir - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - name: close - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: dup - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: dup2 - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: int - - name: dup3 - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: int - - type: int - - name: execve - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: __exec_argv_t - - type: __exec_envp_t - - name: fchdir - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: fsync - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: ftruncate - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: off_t - - name: getcwd - standards: - - POSIX - return_type: char * - arguments: - - type: char * - - type: size_t - - name: geteuid - standards: - - POSIX - return_type: uid_t - arguments: - - type: void - - name: getpid - standards: - - POSIX - return_type: int - arguments: - - type: void - - name: getppid - standards: - - POSIX - return_type: int - arguments: - - type: void - - name: getuid - standards: - - POSIX - return_type: uid_t - arguments: - - type: void - - name: isatty - standards: - - POSIX - return_type: int - arguments: - - type: int - guard: null - attributes: [] - - name: link - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: const char * - - name: linkat - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const char * - - type: int - - type: const char * - - type: int - - name: lseek - standards: - - POSIX - return_type: off_t - arguments: - - type: int - - type: off_t - - type: int - - name: pipe - standards: - - POSIX - return_type: int - arguments: - - type: int * - - name: pread - standards: - - POSIX - return_type: ssize_t - arguments: - - type: int - - type: void * - - type: size_t - - type: off_t - - name: pwrite - standards: - - POSIX - return_type: ssize_t - arguments: - - type: int - - type: const void * - - type: size_t - - type: off_t - - name: read - standards: - - POSIX - return_type: ssize_t - arguments: - - type: int - - type: void * - - type: size_t - - name: readlink - standards: - - POSIX - return_type: ssize_t - arguments: - - type: const char *__restrict - - type: char *__restrict - - type: size_t - - name: readlinkat - standards: - - POSIX - return_type: ssize_t - arguments: - - type: const char *__restrict - - type: char *__restrict - - type: size_t - - name: rmdir - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - name: symlink - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: const char * - - name: symlinkat - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const char * - - type: int - - type: const char * - - name: sysconf - standards: - - POSIX - return_type: int - arguments: - - type: int - - name: truncate - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: off_t - - name: unlink - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - name: unlinkat - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: const char * - - type: int - - name: write - standards: - - POSIX - return_type: ssize_t - arguments: - - type: int - - type: const void * - - type: size_t - guard: null - attributes: [] - - name: _exit - standards: - - POSIX - return_type: _Noreturn void - arguments: - - type: int - - name: execv - standards: - - POSIX - return_type: int - arguments: - - type: const char * - - type: __exec_argv_t - - name: fork - standards: - - POSIX - return_type: pid_t - arguments: - - type: void - - name: __llvm_libc_syscall - standards: - - POSIX - return_type: long - arguments: - - type: long - - type: long - - type: long - - type: long - - type: long - - type: long - - type: long - - name: getopt - standards: - - POSIX - return_type: int - arguments: - - type: int - - type: __getoptargv_t - - type: const char * - - name: swab - standards: - - POSIX - return_type: void - arguments: - - type: const void *__restrict - - type: void * - - type: ssize_t - - name: gettid - standards: - - Linux - return_type: pid_t - arguments: - - type: void +- name: __llvm_libc_syscall + standards: + - POSIX + return_type: long + arguments: + - type: long + - type: long + - type: long + - type: long + - type: long + - type: long + - type: long +- name: _exit + standards: + - POSIX + return_type: _Noreturn void + arguments: + - type: int +- name: access + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: int +- name: chdir + standards: + - POSIX + return_type: int + arguments: + - type: const char * +- name: close + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: dup + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: dup2 + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: int +- name: dup3 + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: int + - type: int +- name: execv + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: __exec_argv_t +- name: execve + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: __exec_argv_t + - type: __exec_envp_t +- name: fchdir + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: fork + standards: + - POSIX + return_type: pid_t + arguments: + - type: void +- name: fsync + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: ftruncate + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: off_t +- name: getcwd + standards: + - POSIX + return_type: char * + arguments: + - type: char * + - type: size_t +- name: geteuid + standards: + - POSIX + return_type: uid_t + arguments: + - type: void +- name: getopt + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: __getoptargv_t + - type: const char * +- name: getpid + standards: + - POSIX + return_type: int + arguments: + - type: void +- name: getppid + standards: + - POSIX + return_type: int + arguments: + - type: void +- name: gettid + standards: + - Linux + return_type: pid_t + arguments: + - type: void +- name: getuid + standards: + - POSIX + return_type: uid_t + arguments: + - type: void +- name: isatty + standards: + - POSIX + return_type: int + arguments: + - type: int + guard: null + attributes: [] +- name: link + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: const char * +- name: linkat + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const char * + - type: int + - type: const char * + - type: int +- name: lseek + standards: + - POSIX + return_type: off_t + arguments: + - type: int + - type: off_t + - type: int +- name: pipe + standards: + - POSIX + return_type: int + arguments: + - type: int * +- name: pread + standards: + - POSIX + return_type: ssize_t + arguments: + - type: int + - type: void * + - type: size_t + - type: off_t +- name: pwrite + standards: + - POSIX + return_type: ssize_t + arguments: + - type: int + - type: const void * + - type: size_t + - type: off_t +- name: read + standards: + - POSIX + return_type: ssize_t + arguments: + - type: int + - type: void * + - type: size_t +- name: readlink + standards: + - POSIX + return_type: ssize_t + arguments: + - type: const char *__restrict + - type: char *__restrict + - type: size_t +- name: readlinkat + standards: + - POSIX + return_type: ssize_t + arguments: + - type: const char *__restrict + - type: char *__restrict + - type: size_t +- name: rmdir + standards: + - POSIX + return_type: int + arguments: + - type: const char * +- name: swab + standards: + - POSIX + return_type: void + arguments: + - type: const void *__restrict + - type: void * + - type: ssize_t +- name: symlink + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: const char * +- name: symlinkat + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const char * + - type: int + - type: const char * +- name: sysconf + standards: + - POSIX + return_type: int + arguments: + - type: int +- name: truncate + standards: + - POSIX + return_type: int + arguments: + - type: const char * + - type: off_t +- name: unlink + standards: + - POSIX + return_type: int + arguments: + - type: const char * +- name: unlinkat + standards: + - POSIX + return_type: int + arguments: + - type: int + - type: const char * + - type: int +- name: write + standards: + - POSIX + return_type: ssize_t + arguments: + - type: int + - type: const void * + - type: size_t + guard: null + attributes: [] diff --git a/libc/newhdrgen/yaml/wchar.yaml b/libc/newhdrgen/yaml/wchar.yaml index bc824b21d8be1..061d26a752479 100644 --- a/libc/newhdrgen/yaml/wchar.yaml +++ b/libc/newhdrgen/yaml/wchar.yaml @@ -1,16 +1,16 @@ header: wchar.h macros: [] types: - - type_name: size_t - - type_name: wint_t - - type_name: wchar_t - - type_name: mbstate_t +- type_name: size_t +- type_name: wint_t +- type_name: wchar_t +- type_name: mbstate_t enums: [] objects: [] functions: - - name: wctob - standards: - - stdc - return_type: int - arguments: - - type: wint_t +- name: wctob + standards: + - stdc + return_type: int + arguments: + - type: wint_t