[libc-commits] [libc] [libc][newhdrgen] removing trailing spaces -- yaml (PR #102043)
via libc-commits
libc-commits at lists.llvm.org
Mon Aug 5 12:23:26 PDT 2024
https://github.com/aaryanshukla created https://github.com/llvm/llvm-project/pull/102043
None
>From 8d21df3cd14a2cc3f9b991dddf635d6bf8575df3 Mon Sep 17 00:00:00 2001
From: Aaryan Shukla <aaryanshukla at google.com>
Date: Mon, 5 Aug 2024 19:22:32 +0000
Subject: [PATCH] [libc][newhdrgen] removing trailing spaces -- yaml
---
libc/newhdrgen/CMakeLists.txt | 2 +-
libc/newhdrgen/tests/input/test_small.yaml | 14 +-
libc/newhdrgen/yaml/arpa/inet.yaml | 8 +-
libc/newhdrgen/yaml/assert.yaml | 2 +-
libc/newhdrgen/yaml/ctype.yaml | 32 +-
libc/newhdrgen/yaml/dirent.yaml | 12 +-
libc/newhdrgen/yaml/errno.yaml | 2 +-
libc/newhdrgen/yaml/fcntl.yaml | 10 +-
libc/newhdrgen/yaml/features.yaml | 2 +-
libc/newhdrgen/yaml/fenv.yaml | 40 +-
libc/newhdrgen/yaml/float.yaml | 2 +-
libc/newhdrgen/yaml/gpu/rpc.yaml | 4 +-
libc/newhdrgen/yaml/inttypes.yaml | 8 +-
libc/newhdrgen/yaml/limits.yaml | 2 +-
libc/newhdrgen/yaml/math.yaml | 576 ++++++++++-----------
libc/newhdrgen/yaml/pthread.yaml | 94 ++--
libc/newhdrgen/yaml/sched.yaml | 26 +-
libc/newhdrgen/yaml/search.yaml | 12 +-
libc/newhdrgen/yaml/setjmp.yaml | 6 +-
libc/newhdrgen/yaml/signal.yaml | 32 +-
libc/newhdrgen/yaml/spawn.yaml | 12 +-
libc/newhdrgen/yaml/stdbit.yaml | 130 ++---
libc/newhdrgen/yaml/stdckdint.yaml | 2 +-
libc/newhdrgen/yaml/stdfix.yaml | 62 +--
libc/newhdrgen/yaml/stdint.yaml | 2 +-
libc/newhdrgen/yaml/stdio.yaml | 140 ++---
libc/newhdrgen/yaml/stdlib.yaml | 78 +--
libc/newhdrgen/yaml/string.yaml | 78 +--
libc/newhdrgen/yaml/strings.yaml | 14 +-
libc/newhdrgen/yaml/sys/auxv.yaml | 2 +-
libc/newhdrgen/yaml/sys/epoll.yaml | 12 +-
libc/newhdrgen/yaml/sys/mman.yaml | 28 +-
libc/newhdrgen/yaml/sys/random.yaml | 2 +-
libc/newhdrgen/yaml/sys/resource.yaml | 4 +-
libc/newhdrgen/yaml/sys/select.yaml | 2 +-
libc/newhdrgen/yaml/sys/sendfile.yaml | 14 +-
libc/newhdrgen/yaml/sys/socket.yaml | 4 +-
libc/newhdrgen/yaml/sys/stat.yaml | 16 +-
libc/newhdrgen/yaml/sys/statvfs.yaml | 6 +-
libc/newhdrgen/yaml/sys/utsname.yaml | 2 +-
libc/newhdrgen/yaml/sys/wait.yaml | 8 +-
libc/newhdrgen/yaml/termios.yaml | 24 +-
libc/newhdrgen/yaml/threads.yaml | 36 +-
libc/newhdrgen/yaml/time.yaml | 20 +-
libc/newhdrgen/yaml/uchar.yaml | 2 +-
libc/newhdrgen/yaml/unistd.yaml | 82 +--
libc/newhdrgen/yaml/wchar.yaml | 2 +-
47 files changed, 835 insertions(+), 835 deletions(-)
diff --git a/libc/newhdrgen/CMakeLists.txt b/libc/newhdrgen/CMakeLists.txt
index f8d003f8425bd..523f8c2609124 100644
--- a/libc/newhdrgen/CMakeLists.txt
+++ b/libc/newhdrgen/CMakeLists.txt
@@ -8,7 +8,7 @@ if(LLVM_LIBC_FULL_BUILD)
NAME newhdrgen_integration_test
COMMAND python3 ${NEWHDGEN_TESTS_DIR}/test_integration.py --output_dir ${TEST_OUTPUT_DIR}
)
-
+
add_custom_target(check-newhdrgen
COMMAND ${CMAKE_CTEST_COMMAND} -R newhdrgen_integration_test --output-on-failure
)
diff --git a/libc/newhdrgen/tests/input/test_small.yaml b/libc/newhdrgen/tests/input/test_small.yaml
index a2e96939b4be0..772552faf81dc 100644
--- a/libc/newhdrgen/tests/input/test_small.yaml
+++ b/libc/newhdrgen/tests/input/test_small.yaml
@@ -21,14 +21,14 @@ functions:
- name: func_a
return_type: void
arguments: []
- standards:
+ standards:
- stdc
- attributes:
+ attributes:
- CONST_FUNC_A
- name: func_b
return_type: float128
arguments: []
- standards:
+ standards:
- stdc
guard: LIBC_TYPES_HAS_FLOAT128
- name: func_c
@@ -36,7 +36,7 @@ functions:
arguments:
- type: int
- type: float
- standards:
+ standards:
- stdc
guard: LIBC_TYPES_HAS_FLOAT16
- name: func_d
@@ -44,14 +44,14 @@ functions:
arguments:
- type: int
- type: float
- standards:
+ standards:
- stdc
guard: LIBC_TYPES_HAS_FLOAT16
- name: func_e
return_type: _Float16
arguments:
- type: float128
- standards:
+ standards:
- stdc
guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
- name: func_f
@@ -60,7 +60,7 @@ functions:
- type: int
- type: double
- type: float
- standards:
+ standards:
- stdc
diff --git a/libc/newhdrgen/yaml/arpa/inet.yaml b/libc/newhdrgen/yaml/arpa/inet.yaml
index c01235d4327a5..cb366e0f5d694 100644
--- a/libc/newhdrgen/yaml/arpa/inet.yaml
+++ b/libc/newhdrgen/yaml/arpa/inet.yaml
@@ -5,25 +5,25 @@ enums: []
objects: []
functions:
- name: htonl
- standards:
+ standards:
- POSIX
return_type: uint32_t
arguments:
- type: uint32_t
- name: htons
- standards:
+ standards:
- POSIX
return_type: uint16_t
arguments:
- type: uint16_t
- name: ntohl
- standards:
+ standards:
- POSIX
return_type: uint32_t
arguments:
- type: uint32_t
- name: ntohs
- standards:
+ standards:
- POSIX
return_type: uint16_t
arguments:
diff --git a/libc/newhdrgen/yaml/assert.yaml b/libc/newhdrgen/yaml/assert.yaml
index 58d6c413cebdc..f740554488ed5 100644
--- a/libc/newhdrgen/yaml/assert.yaml
+++ b/libc/newhdrgen/yaml/assert.yaml
@@ -4,7 +4,7 @@ types: []
enums: []
objects: []
functions:
- - name: __assert_fail
+ - name: __assert_fail
standards:
- llvm_libc_ext
return_type: _Noreturn void
diff --git a/libc/newhdrgen/yaml/ctype.yaml b/libc/newhdrgen/yaml/ctype.yaml
index a4a3048ede872..e5b4d11422d98 100644
--- a/libc/newhdrgen/yaml/ctype.yaml
+++ b/libc/newhdrgen/yaml/ctype.yaml
@@ -5,98 +5,98 @@ enums: []
objects: []
functions:
- name: isalnum
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: isalpha
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: isblank
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: iscntrl
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: isdigit
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: isgraph
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: islower
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: isprint
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: ispunct
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: isspace
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: isupper
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: isxdigit
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: tolower
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: toupper
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
functions:
- name: isascii
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: toascii
- standards:
+ standards:
- GNUExtensions
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/dirent.yaml b/libc/newhdrgen/yaml/dirent.yaml
index 84a539a966345..cdccf6a0c7f29 100644
--- a/libc/newhdrgen/yaml/dirent.yaml
+++ b/libc/newhdrgen/yaml/dirent.yaml
@@ -8,38 +8,38 @@ enums: []
objects: []
functions:
- name: alphasort
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const struct dirent **
- type: const struct dirent **
- name: closedir
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: DIR *
- name: dirfd
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: DIR *
- name: fdopendir
- standards:
+ standards:
- POSIX
return_type: DIR *
arguments:
- type: int
- name: opendir
- standards:
+ standards:
- POSIX
return_type: DIR *
arguments:
- type: const char *
- name: readdir
- standards:
+ standards:
- POSIX
return_type: struct dirent *
arguments:
diff --git a/libc/newhdrgen/yaml/errno.yaml b/libc/newhdrgen/yaml/errno.yaml
index 5d8de90f035bd..a894063a1ee2c 100644
--- a/libc/newhdrgen/yaml/errno.yaml
+++ b/libc/newhdrgen/yaml/errno.yaml
@@ -1,5 +1,5 @@
header: errno.h
-standards:
+standards:
- stdc
- Linux
- POSIX
diff --git a/libc/newhdrgen/yaml/fcntl.yaml b/libc/newhdrgen/yaml/fcntl.yaml
index 3cb9741256a3d..a7bd1997b0eac 100644
--- a/libc/newhdrgen/yaml/fcntl.yaml
+++ b/libc/newhdrgen/yaml/fcntl.yaml
@@ -1,20 +1,20 @@
header: fcntl.h
macros: []
-types:
+types:
- type_name: off_t
- type_name: mode_t
enums: []
objects: []
functions:
- name: creat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: mode_t
- name: fcntl
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -22,7 +22,7 @@ functions:
- type: int
- type: ...
- name: open
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -30,7 +30,7 @@ functions:
- type: int
- type: ...
- name: openat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/features.yaml b/libc/newhdrgen/yaml/features.yaml
index 86bc0acfe89ed..a18af22edb743 100644
--- a/libc/newhdrgen/yaml/features.yaml
+++ b/libc/newhdrgen/yaml/features.yaml
@@ -1,5 +1,5 @@
header: features.h
-standards:
+standards:
- stdc
macros: []
types: []
diff --git a/libc/newhdrgen/yaml/fenv.yaml b/libc/newhdrgen/yaml/fenv.yaml
index e7ff8cdf4e3b0..95eb93c883e3c 100644
--- a/libc/newhdrgen/yaml/fenv.yaml
+++ b/libc/newhdrgen/yaml/fenv.yaml
@@ -7,101 +7,101 @@ enums: []
objects: []
functions:
- name: feclearexcept
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: fetestexcept
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: fetestexceptflag
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const fexcept_t *
- type: int
- name: feraiseexcept
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: fesetround
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: fegetround
- standards:
+ standards:
- stdc
return_type: int
arguments: []
- name: fegetenv
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: fenv_t *
- name: fesetenv
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const fenv_t *
- name: fegetexceptflag
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: fexcept_t *
- type: int
- name: fesetexcept
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: fesetexceptflag
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const fexcept_t *
- type: int
- name: feholdexcept
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: fenv_t *
- name: feupdateenv
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const fenv_t *
- name: fedisableexcept
- standards:
+ standards:
- GNUExtensions
- return_type: int
- arguments:
- - type: int
+ return_type: int
+ arguments:
+ - type: int
guard: null
- name: feenableexcept
- standards:
+ standards:
- GNUExtensions
- return_type: int
+ return_type: int
arguments:
- type: int
attributes: []
- name: fegetexcept
- standards:
+ standards:
- GNUExtensions
return_type: int
arguments: []
diff --git a/libc/newhdrgen/yaml/float.yaml b/libc/newhdrgen/yaml/float.yaml
index fcbede018113c..63639a6e8ed13 100644
--- a/libc/newhdrgen/yaml/float.yaml
+++ b/libc/newhdrgen/yaml/float.yaml
@@ -1,5 +1,5 @@
header: float.h
-standards:
+standards:
- stdc
macros: []
types: []
diff --git a/libc/newhdrgen/yaml/gpu/rpc.yaml b/libc/newhdrgen/yaml/gpu/rpc.yaml
index 8a096db8784ec..57473f72c3827 100644
--- a/libc/newhdrgen/yaml/gpu/rpc.yaml
+++ b/libc/newhdrgen/yaml/gpu/rpc.yaml
@@ -5,7 +5,7 @@ enums: []
objects: []
functions:
- name: rpc_host_call
- standards:
+ standards:
- GPUExtensions
return_type: void
arguments:
@@ -13,7 +13,7 @@ functions:
- type: void *
- type: size_t
- name: rpc_fprintf
- standards:
+ standards:
- GPUExtensions
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/inttypes.yaml b/libc/newhdrgen/yaml/inttypes.yaml
index 6e3d1346f6006..ad636cc5121a1 100644
--- a/libc/newhdrgen/yaml/inttypes.yaml
+++ b/libc/newhdrgen/yaml/inttypes.yaml
@@ -6,20 +6,20 @@ enums: []
objects: []
functions:
- name: imaxabs
- standards:
+ standards:
- stdc
return_type: intmax_t
arguments:
- type: intmax_t
- name: imaxdiv
- standards:
+ standards:
- stdc
return_type: imaxdiv_t
arguments:
- type: intmax_t
- type: intmax_t
- name: strtoimax
- standards:
+ standards:
- stdc
return_type: intmax_t
arguments:
@@ -27,7 +27,7 @@ functions:
- type: char * *__restrict
- type: int
- name: strtoumax
- standards:
+ standards:
- stdc
return_type: uintmax_t
arguments:
diff --git a/libc/newhdrgen/yaml/limits.yaml b/libc/newhdrgen/yaml/limits.yaml
index 9d0f14fa3095d..bf33ed24e7a8d 100644
--- a/libc/newhdrgen/yaml/limits.yaml
+++ b/libc/newhdrgen/yaml/limits.yaml
@@ -1,5 +1,5 @@
header: limits.h
-standards:
+standards:
- stdc
macros: []
types: []
diff --git a/libc/newhdrgen/yaml/math.yaml b/libc/newhdrgen/yaml/math.yaml
index ce562c653a6d2..36c82be85b3ea 100644
--- a/libc/newhdrgen/yaml/math.yaml
+++ b/libc/newhdrgen/yaml/math.yaml
@@ -20,306 +20,306 @@ functions:
arguments:
- type: float
- name: copysign
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: copysignf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: copysignl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: ceil
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: ceilf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: ceill
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: fabs
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: fabsf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: fabsl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: fdim
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fdimf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fdiml
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: floor
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: floorf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: floorl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: fmin
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fminf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fminl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fmax
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fmaxf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fmaxl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fmaximum
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fmaximumf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fmaximuml
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fmaximum_num
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fmaximum_numf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fmaximum_numl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fmaximum_mag
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fmaximum_magf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fmaximum_magl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fmaximum_mag_num
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fmaximum_mag_numf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fmaximum_mag_numl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fminimum
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fminimumf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fminimuml
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fminimum_num
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fminimum_numf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fminimum_mag
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fminimum_magf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fminimum_magl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fminimum_mag_num
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fminimum_mag_numf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fminimum_mag_numl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: fma
- standards:
+ standards:
- stdc
return_type: double
arguments:
@@ -327,7 +327,7 @@ functions:
- type: double
- type: double
- name: fmaf
- standards:
+ standards:
- stdc
return_type: float
arguments:
@@ -335,21 +335,21 @@ functions:
- type: float
- type: float
- name: fmod
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: fmodf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: fmodl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
@@ -377,28 +377,28 @@ functions:
- type: long double
- type: long double
- name: frexp
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: int *
- name: frexpf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: int *
- name: frexpl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: int *
- name: fromfp
- standards:
+ standards:
- stdc
return_type: double
arguments:
@@ -406,7 +406,7 @@ functions:
- type: int
- type: unsigned int
- name: fromfpf
- standards:
+ standards:
- stdc
return_type: float
arguments:
@@ -414,7 +414,7 @@ functions:
- type: int
- type: unsigned int
- name: fromfpl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
@@ -422,7 +422,7 @@ functions:
- type: int
- type: unsigned int
- name: fromfpx
- standards:
+ standards:
- stdc
return_type: double
arguments:
@@ -430,7 +430,7 @@ functions:
- type: int
- type: unsigned int
- name: fromfpxf
- standards:
+ standards:
- stdc
return_type: float
arguments:
@@ -438,7 +438,7 @@ functions:
- type: int
- type: unsigned int
- name: fromfpxl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
@@ -446,7 +446,7 @@ functions:
- type: int
- type: unsigned int
- name: ufromfp
- standards:
+ standards:
- stdc
return_type: double
arguments:
@@ -454,7 +454,7 @@ functions:
- type: int
- type: unsigned int
- name: ufromfpf
- standards:
+ standards:
- stdc
return_type: float
arguments:
@@ -462,7 +462,7 @@ functions:
- type: int
- type: unsigned int
- name: ufromfpl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
@@ -470,7 +470,7 @@ functions:
- type: int
- type: unsigned int
- name: ufromfpx
- standards:
+ standards:
- stdc
return_type: double
arguments:
@@ -478,7 +478,7 @@ functions:
- type: int
- type: unsigned int
- name: ufromfpxf
- standards:
+ standards:
- stdc
return_type: float
arguments:
@@ -486,7 +486,7 @@ functions:
- type: int
- type: unsigned int
- name: ufromfpxl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
@@ -494,33 +494,33 @@ functions:
- type: int
- type: unsigned int
- name: hypot
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: hypotf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: ilogb
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: double
- name: ilogbf
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: float
- name: ilogbl
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -529,7 +529,7 @@ functions:
standards:
- BSDExtensions
return_type: int
- arguments:
+ arguments:
- type: double
- name: isnanf
standards:
@@ -544,151 +544,151 @@ functions:
arguments:
- type: long double
- name: llogb
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: double
- name: llogbf
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: float
- name: llogbl
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: long double
- name: ldexp
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: int
- name: ldexpf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: int
- name: ldexpl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: int
- name: log10
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: log10f
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: log1p
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: log1pf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: log2
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: log2f
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: log
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: logf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: logb
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: logbf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: logbl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: modf
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double *
- name: modff
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float *
- name: modfl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double *
- name: cos
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: cosf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: sin
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: sincosf
- standards:
+ standards:
- gnu
return_type: void
arguments:
@@ -696,106 +696,106 @@ functions:
- type: float *
- type: float *
- name: sinf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: tan
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: tanf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: erff
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: exp
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: expf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: exp2
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: exp2f
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: exp2m1f
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: expm1
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: expm1f
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: exp10
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: exp10f
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: remainder
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: remainderf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: remainderl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: remquo
- standards:
+ standards:
- stdc
return_type: double
arguments:
@@ -803,7 +803,7 @@ functions:
- type: double
- type: int *
- name: remquof
- standards:
+ standards:
- stdc
return_type: float
arguments:
@@ -811,7 +811,7 @@ functions:
- type: float
- type: int *
- name: remquol
- standards:
+ standards:
- stdc
return_type: long double
arguments:
@@ -819,272 +819,272 @@ functions:
- type: long double
- type: int *
- name: round
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: roundf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: roundl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: roundeven
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: roundevenf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: roundevenl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: lround
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: double
- name: lroundf
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: float
- name: lroundl
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: long double
- name: llround
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: double
- name: llroundf
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: float
- name: llroundl
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: long double
- name: rint
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: rintf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: rintl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: lrint
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: double
- name: lrintf
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: float
- name: lrintl
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: long double
- name: llrint
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: double
- name: llrintf
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: float
- name: llrintl
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: long double
- name: sqrt
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: sqrtf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: sqrtl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: trunc
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: truncf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: truncl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: nearbyint
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: nearbyintf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: nearbyintl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: nextafterf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: nextafter
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: double
- name: nextafterl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: nexttowardf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: long double
- name: nexttoward
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: long double
- name: nexttowardl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: long double
- name: nextdown
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: nextdownf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: nextdownl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: nextup
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: nextupf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: nextupl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- name: powf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: pow
- standards:
+ standards:
- stdc
return_type: double
arguments:
@@ -1103,134 +1103,134 @@ functions:
- type: float
- type: int
- name: coshf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: sinhf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: tanhf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: acosf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: asinf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: asin
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- name: atanf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: atan2f
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: float
- name: acoshf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: asinhf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: atanhf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- name: scalbn
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: double
- type: int
- name: scalbnf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: float
- type: int
- name: scalbnl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: long double
- type: int
- name: nanf
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: const char *
- name: nan
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: const char *
- name: nanl
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: const char *
- name: canonicalize
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: double
- type: double
- name: canonicalizef
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: float
- type: float
- name: canonicalizel
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: long double
- type: long double
- name: canonicalizef128
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -1238,7 +1238,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: canonicalizef16
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -1246,14 +1246,14 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: ceilf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: copysignf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1261,7 +1261,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16add
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1269,7 +1269,7 @@ functions:
- type: double
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16addf
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1277,7 +1277,7 @@ functions:
- type: float
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16addl
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1285,7 +1285,7 @@ functions:
- type: long double
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16div
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1301,7 +1301,7 @@ functions:
- type: float
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16divl
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1309,7 +1309,7 @@ functions:
- type: long double
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16fma
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1318,7 +1318,7 @@ functions:
- type: double
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16fmaf
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1327,7 +1327,7 @@ functions:
- type: float
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16fmal
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1360,28 +1360,28 @@ functions:
- type: long double
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16sqrt
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
- type: double
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16sqrtf
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
- type: float
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16sqrtl
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
- type: long double
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16sub
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1389,7 +1389,7 @@ functions:
- type: double
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16subf
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1397,7 +1397,7 @@ functions:
- type: float
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16subl
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
@@ -1405,14 +1405,14 @@ functions:
- type: long double
guard: LIBC_TYPES_HAS_FLOAT16
- name: fabsf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fdimf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1420,14 +1420,14 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: floorf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fmaxf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1435,7 +1435,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fmaximum_mag_numf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1443,7 +1443,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fmaximum_magf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1451,7 +1451,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fmaximum_numf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1459,7 +1459,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fmaximumf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1467,7 +1467,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fminf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1475,7 +1475,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fminimum_mag_numf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1483,7 +1483,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fminimum_magf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1491,7 +1491,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fminimum_numf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1499,7 +1499,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fminimumf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1507,7 +1507,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: fmodf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1515,7 +1515,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: frexpf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1523,7 +1523,7 @@ functions:
- type: int *
guard: LIBC_TYPES_HAS_FLOAT16
- name: fromfpf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1532,7 +1532,7 @@ functions:
- type: unsigned int
guard: LIBC_TYPES_HAS_FLOAT16
- name: fromfpxf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1541,21 +1541,21 @@ functions:
- type: unsigned int
guard: LIBC_TYPES_HAS_FLOAT16
- name: getpayloadf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16 *
guard: LIBC_TYPES_HAS_FLOAT16
- name: ilogbf16
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: ldexpf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1563,49 +1563,49 @@ functions:
- type: int
guard: LIBC_TYPES_HAS_FLOAT16
- name: llogbf16
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: llrintf16
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: llroundf16
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: logbf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: lrintf16
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: lroundf16
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: modff16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1613,21 +1613,21 @@ functions:
- type: _Float16 *
guard: LIBC_TYPES_HAS_FLOAT16
- name: nanf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: const char *
guard: LIBC_TYPES_HAS_FLOAT16
- name: nearbyintf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: nextafterf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1635,14 +1635,14 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: nextdownf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: nexttowardf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1650,14 +1650,14 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: nextupf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: remainderf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1665,7 +1665,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: remquof16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1674,28 +1674,28 @@ functions:
- type: int *
guard: LIBC_TYPES_HAS_FLOAT16
- name: rintf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: roundevenf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: roundf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: scalblnf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1703,7 +1703,7 @@ functions:
- type: long
guard: LIBC_TYPES_HAS_FLOAT16
- name: scalbnf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1711,7 +1711,7 @@ functions:
- type: int
guard: LIBC_TYPES_HAS_FLOAT16
- name: setpayloadf16
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -1719,7 +1719,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: setpayloadsigf16
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -1727,7 +1727,7 @@ functions:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: totalorderf16
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -1735,7 +1735,7 @@ functions:
- type: _Float16 *
guard: LIBC_TYPES_HAS_FLOAT16
- name: totalordermagf16
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -1743,14 +1743,14 @@ functions:
- type: _Float16 *
guard: LIBC_TYPES_HAS_FLOAT16
- name: truncf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
- name: ufromfpf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1759,7 +1759,7 @@ functions:
- type: unsigned int
guard: LIBC_TYPES_HAS_FLOAT16
- name: ufromfpxf16
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1768,7 +1768,7 @@ functions:
- type: unsigned int
guard: LIBC_TYPES_HAS_FLOAT16
- name: f16addf128
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1784,7 +1784,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
- name: f16fmaf128
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1801,14 +1801,14 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
- name: f16sqrtf128
- standards:
+ standards:
- llvm_libc_ext
return_type: _Float16
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
- name: f16subf128
- standards:
+ standards:
- stdc
return_type: _Float16
arguments:
@@ -1816,14 +1816,14 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
- name: ceilf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: copysignf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1831,14 +1831,14 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fabsf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fdimf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1846,14 +1846,14 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: floorf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fmaxf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1861,7 +1861,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fmaximum_mag_numf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1869,7 +1869,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fmaximum_magf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1877,7 +1877,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fmaximum_numf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1885,7 +1885,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fmaximumf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1893,7 +1893,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fminf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1901,7 +1901,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fminimum_mag_numf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1909,7 +1909,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fminimum_magf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1917,7 +1917,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fminimum_numf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1925,7 +1925,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fminimumf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1933,7 +1933,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: fmodf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1957,7 +1957,7 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: frexpf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1965,7 +1965,7 @@ functions:
- type: int *
guard: LIBC_TYPES_HAS_FLOAT128
- name: fromfpf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1974,7 +1974,7 @@ functions:
- type: unsigned int
guard: LIBC_TYPES_HAS_FLOAT128
- name: fromfpxf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1983,14 +1983,14 @@ functions:
- type: unsigned int
guard: LIBC_TYPES_HAS_FLOAT128
- name: ilogbf128
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: ldexpf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -1998,49 +1998,49 @@ functions:
- type: int
guard: LIBC_TYPES_HAS_FLOAT128
- name: llogbf128
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: llrintf128
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: llroundf128
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: logbf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: lrintf128
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: lroundf128
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: modff128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -2048,21 +2048,21 @@ functions:
- type: float128 *
guard: LIBC_TYPES_HAS_FLOAT128
- name: nanf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: const char *
guard: LIBC_TYPES_HAS_FLOAT128
- name: nearbyintf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: nextafterf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -2070,21 +2070,21 @@ functions:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: nextdownf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: nextupf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: remquof128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -2093,28 +2093,28 @@ functions:
- type: int *
guard: LIBC_TYPES_HAS_FLOAT128
- name: rintf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: roundevenf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: roundf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: scalbnf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -2122,21 +2122,21 @@ functions:
- type: int
guard: LIBC_TYPES_HAS_FLOAT128
- name: sqrtf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: truncf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
- name: ufromfpf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
@@ -2145,7 +2145,7 @@ functions:
- type: unsigned int
guard: LIBC_TYPES_HAS_FLOAT128
- name: ufromfpxf128
- standards:
+ standards:
- stdc
return_type: float128
arguments:
diff --git a/libc/newhdrgen/yaml/pthread.yaml b/libc/newhdrgen/yaml/pthread.yaml
index d492dfcbd51eb..b6934e3092597 100644
--- a/libc/newhdrgen/yaml/pthread.yaml
+++ b/libc/newhdrgen/yaml/pthread.yaml
@@ -17,7 +17,7 @@ types:
enums: []
functions:
- name: pthread_atfork
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -25,33 +25,33 @@ functions:
- type: __atfork_callback_t
- type: __atfork_callback_t
- name: pthread_attr_destroy
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- name: pthread_attr_init
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- name: pthread_attr_getdetachstate
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_attr_t *
- type: int *
- name: pthread_attr_getguardsize
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_attr_t *__restrict
- type: size_t *__restrict
- name: pthread_attr_getstack
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -59,28 +59,28 @@ functions:
- type: void **__restrict
- type: size_t *__restrict
- name: pthread_attr_getstacksize
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_attr_t *__restrict
- type: size_t *__restrict
- name: pthread_attr_setdetachstate
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- type: int
- name: pthread_attr_setguardsize
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- type: size_t
- name: pthread_attr_setstack
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -88,54 +88,54 @@ functions:
- type: void *
- type: size_t
- name: pthread_attr_setstacksize
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_attr_t *
- type: size_t
- name: pthread_condattr_destroy
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_condattr_t *
- name: pthread_condattr_getclock
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_condattr_t *__restrict
- type: clockid_t *__restrict
- name: pthread_condattr_getpshared
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_condattr_t *__restrict
- type: int *__restrict
- name: pthread_condattr_init
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_condattr_t *
- name: pthread_condattr_setclock
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_condattr_t *
- type: clockid_t
- name: pthread_condattr_setpshared
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_condattr_t *
- type: int
- name: pthread_create
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -144,20 +144,20 @@ functions:
- type: __pthread_start_t
- type: void *
- name: pthread_detach
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_t
- name: pthread_equal
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_t
- type: pthread_t
- name: pthread_exit
- standards:
+ standards:
- POSIX
return_type: _Noreturn void
arguments:
@@ -171,33 +171,33 @@ functions:
- type: char *
- type: size_t
- name: pthread_getspecific
- standards:
+ standards:
- POSIX
return_type: void *
arguments:
- type: pthread_key_t
- name: pthread_join
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_t
- type: void **
- name: pthread_key_create
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_key_t *
- type: __pthread_tss_dtor_t
- name: pthread_key_delete
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_key_t
- name: pthread_self
- standards:
+ standards:
- POSIX
return_type: pthread_t
arguments:
@@ -210,133 +210,133 @@ functions:
- type: pthread_t
- type: const char *
- name: pthread_mutex_destroy
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutex_t *
- name: pthread_mutex_init
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutex_t *__restrict
- type: const pthread_mutexattr_t *__restrict
- name: pthread_mutex_lock
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutex_t *
- name: pthread_mutex_unlock
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutex_t *
- name: pthread_mutexattr_destroy
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *
- name: pthread_mutexattr_init
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *
- name: pthread_mutexattr_getpshared
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_mutexattr_t *__restrict
- type: int *__restrict
- name: pthread_mutexattr_getrobust
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_mutexattr_t *__restrict
- type: int *__restrict
- name: pthread_mutexattr_gettype
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_mutexattr_t *__restrict
- type: int *__restrict
- name: pthread_mutexattr_setpshared
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *__restrict
- type: int
- name: pthread_mutexattr_setrobust
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *__restrict
- type: int
- name: pthread_mutexattr_settype
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_mutexattr_t *__restrict
- type: int
- name: pthread_once
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_once_t *
- type: __pthread_once_func_t
- name: pthread_rwlockattr_destroy
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- name: pthread_rwlockattr_getkind_np
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- type: int *
- name: pthread_rwlockattr_getpshared
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const pthread_rwlockattr_t *
- type: int *
- name: pthread_rwlockattr_init
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- name: pthread_rwlockattr_setkind_np
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- type: int
- name: pthread_rwlockattr_setpshared
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pthread_rwlockattr_t *
- type: int
- name: pthread_setspecific
- standards:
+ standards:
- POSIX
return_type: void *
arguments:
diff --git a/libc/newhdrgen/yaml/sched.yaml b/libc/newhdrgen/yaml/sched.yaml
index 7b164bfeee391..eaafa8f27ef08 100644
--- a/libc/newhdrgen/yaml/sched.yaml
+++ b/libc/newhdrgen/yaml/sched.yaml
@@ -11,19 +11,19 @@ enums: []
objects: []
functions:
- name: sched_get_priority_max
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: sched_get_priority_min
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: sched_getaffinity
- standards:
+ standards:
- GNUExtensions
return_type: int
arguments:
@@ -31,14 +31,14 @@ functions:
- type: size_t
- type: cpu_set_t *
- name: sched_getparam
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: struct sched_param *
- name: sched_getscheduler
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -46,14 +46,14 @@ functions:
- type: int
- type: const struct sched_param *
- name: sched_rr_get_interval
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: struct timespec *
- name: sched_setaffinity
- standards:
+ standards:
- GNUExtensions
return_type: int
arguments:
@@ -61,26 +61,26 @@ functions:
- type: size_t
- type: const cpu_set_t *
- name: sched_setparam
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: const struct sched_param *
- name: sched_setscheduler
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- name: sched_yield
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: int
- arguments:
+ arguments:
- type: void
- name: __sched_getcpucount
- standards:
+ standards:
- llvm_libc_ext
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/search.yaml b/libc/newhdrgen/yaml/search.yaml
index b4fde14f771a2..878b6972e0349 100644
--- a/libc/newhdrgen/yaml/search.yaml
+++ b/libc/newhdrgen/yaml/search.yaml
@@ -8,7 +8,7 @@ enums: []
objects: []
functions:
- name: hcreate
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -20,7 +20,7 @@ functions:
- type: size_t
- type: struct hsearch_data *
- name: hsearch
- standards:
+ standards:
- POSIX
return_type: ENTRY *
arguments:
@@ -35,24 +35,24 @@ functions:
- type: ENTRY * *
- type: struct hsearch_data *
- name: hdestroy
- standards: GNUExtensions
+ standards: GNUExtensions
return_type: void
arguments: []
- name: hdestroy_r
- standards:
+ standards:
- POSIX
return_type: void
arguments:
- type: struct hsearch_data *
- name: insque
- standards:
+ standards:
- POSIX
return_type: void
arguments:
- type: void *
- type: void *
- name: remque
- standards:
+ standards:
- POSIX
return_type: void
arguments:
diff --git a/libc/newhdrgen/yaml/setjmp.yaml b/libc/newhdrgen/yaml/setjmp.yaml
index c750b46fc2088..68e3ff046e4b8 100644
--- a/libc/newhdrgen/yaml/setjmp.yaml
+++ b/libc/newhdrgen/yaml/setjmp.yaml
@@ -6,14 +6,14 @@ enums: []
objects: []
functions:
- name: longjmp
- standards:
+ standards:
- stdc
return_type: _Noreturn void
arguments:
- - type: jmp_buf
+ - type: jmp_buf
- type: int
- name: setjmp
- standards:
+ standards:
- stdc
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/signal.yaml b/libc/newhdrgen/yaml/signal.yaml
index 980bd5d90c4b6..5de89e87453ed 100644
--- a/libc/newhdrgen/yaml/signal.yaml
+++ b/libc/newhdrgen/yaml/signal.yaml
@@ -12,20 +12,20 @@ enums: []
objects: []
functions:
- name: raise
- standards:
- - stdc
+ standards:
+ - stdc
return_type: int
arguments:
- type: int
- name: kill
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: int
arguments:
- type: pid_t
- type: int
- name: sigaction
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -33,48 +33,48 @@ functions:
- type: const struct sigaction *__restrict
- type: struct sigaction *__restrict
- name: sigaltstack
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: int
arguments:
- type: const stack_t *__restrict
- type: stack_t *__restrict
- name: sigdelset
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: int
arguments:
- type: sigset_t *
- type: int
- name: sigaddset
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- type: int
- name: sigemptyset
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- name: sigprocmask
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: int
arguments:
- type: int
- type: const sigset_t *__restrict
- type: sigset_t *__restrict
- name: sigfillset
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: int
arguments:
- type: sigset_t *
- name: signal
- standards:
+ standards:
- stdc
return_type: __sighandler_t
arguments:
diff --git a/libc/newhdrgen/yaml/spawn.yaml b/libc/newhdrgen/yaml/spawn.yaml
index 86a2e624d4ef4..be3f4e99d27fc 100644
--- a/libc/newhdrgen/yaml/spawn.yaml
+++ b/libc/newhdrgen/yaml/spawn.yaml
@@ -9,7 +9,7 @@ enums: []
objects: []
functions:
- name: posix_spawn
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -20,14 +20,14 @@ functions:
- type: const char *__restrict *
- type: const char *__restrict *
- name: posix_spawn_file_actions_addclose
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
- type: int
- name: posix_spawn_file_actions_adddup2
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -35,7 +35,7 @@ functions:
- type: int
- type: int
- name: posix_spawn_file_actions_addopen
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -45,13 +45,13 @@ functions:
- type: int
- type: mode_t
- name: posix_spawn_file_actions_destroy
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
- name: posix_spawn_file_actions_init
- standards:
+ standards:
- POSIX
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/stdbit.yaml b/libc/newhdrgen/yaml/stdbit.yaml
index 7e1368df9de51..7a5b61973de0a 100644
--- a/libc/newhdrgen/yaml/stdbit.yaml
+++ b/libc/newhdrgen/yaml/stdbit.yaml
@@ -5,391 +5,391 @@ enums: []
objects: []
functions:
- name: stdc_leading_zeros_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_leading_zeros_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_leading_zeros_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_leading_zeros_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_leading_zeros_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_leading_ones_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_leading_ones_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_leading_ones_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_leading_ones_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_leading_ones_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_trailing_zeros_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_trailing_zeros_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_trailing_zeros_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_trailing_zeros_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_trailing_zeros_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_trailing_ones_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_trailing_ones_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_trailing_ones_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_trailing_ones_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_trailing_ones_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_first_leading_zero_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_first_leading_zero_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_first_leading_zero_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_first_leading_zero_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_first_leading_zero_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_first_leading_one_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_first_leading_one_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_first_leading_one_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_first_leading_one_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_first_leading_one_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_first_trailing_one_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_first_trailing_one_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_first_trailing_one_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_first_trailing_one_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_first_trailing_one_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_count_zeros_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_count_zeros_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_count_zeros_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_count_zeros_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_count_zeros_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_count_ones_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_count_ones_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_count_ones_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_count_ones_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_count_ones_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_has_single_bit_uc
- standards:
+ standards:
- stdc
return_type: bool
arguments:
- type: unsigned char
- name: stdc_has_single_bit_us
- standards:
+ standards:
- stdc
return_type: bool
arguments:
- type: unsigned short
- name: stdc_has_single_bit_ui
- standards:
+ standards:
- stdc
return_type: bool
arguments:
- type: unsigned int
- name: stdc_has_single_bit_ul
- standards:
+ standards:
- stdc
return_type: bool
arguments:
- type: unsigned long
- name: stdc_has_single_bit_ull
- standards:
+ standards:
- stdc
return_type: bool
arguments:
- type: unsigned long long
- name: stdc_bit_width_uc
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_bit_width_us
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_bit_width_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_bit_width_ul
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_bit_width_ull
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_bit_floor_uc
- standards:
+ standards:
- stdc
return_type: unsigned char
arguments:
- type: unsigned char
- name: stdc_bit_floor_us
- standards:
+ standards:
- stdc
return_type: unsigned short
arguments:
- type: unsigned short
- name: stdc_bit_floor_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_bit_floor_ul
- standards:
+ standards:
- stdc
return_type: unsigned long
arguments:
- type: unsigned long
- name: stdc_bit_floor_ull
- standards:
+ standards:
- stdc
return_type: unsigned long long
arguments:
- type: unsigned long long
- name: stdc_bit_ceil_uc
- standards:
+ standards:
- stdc
return_type: unsigned char
arguments:
- type: unsigned char
- name: stdc_bit_ceil_us
- standards:
+ standards:
- stdc
return_type: unsigned short
arguments:
- type: unsigned short
- name: stdc_bit_ceil_ui
- standards:
+ standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_bit_ceil_ul
- standards:
+ standards:
- stdc
return_type: unsigned long
arguments:
- type: unsigned long
- name: stdc_bit_ceil_ull
- standards:
+ standards:
- stdc
return_type: unsigned long long
arguments:
diff --git a/libc/newhdrgen/yaml/stdckdint.yaml b/libc/newhdrgen/yaml/stdckdint.yaml
index 5cc2e109e90e7..ea8fc47625b03 100644
--- a/libc/newhdrgen/yaml/stdckdint.yaml
+++ b/libc/newhdrgen/yaml/stdckdint.yaml
@@ -1,5 +1,5 @@
header: stdckdint.h
-standards:
+standards:
- stdc
macros: []
types: []
diff --git a/libc/newhdrgen/yaml/stdfix.yaml b/libc/newhdrgen/yaml/stdfix.yaml
index 564826a333580..339c6aaae296f 100644
--- a/libc/newhdrgen/yaml/stdfix.yaml
+++ b/libc/newhdrgen/yaml/stdfix.yaml
@@ -5,49 +5,49 @@ enums: []
objects: []
functions:
- name: abshk
- standards:
+ standards:
- stdc_ext
return_type: short accum
arguments:
- type: short accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: abshr
- standards:
+ standards:
- stdc_ext
return_type: short fract
arguments:
- type: short fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: absk
- standards:
+ standards:
- stdc_ext
return_type: accum
arguments:
- type: accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: absr
- standards:
+ standards:
- stdc_ext
return_type: fract
arguments:
- type: fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: abslk
- standards:
+ standards:
- stdc_ext
return_type: long accum
arguments:
- type: long accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: abslr
- standards:
+ standards:
- stdc_ext
return_type: long fract
arguments:
- type: long fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: exphk
- standards:
+ standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: short accum
@@ -55,7 +55,7 @@ functions:
- type: short accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: expk
- standards:
+ standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: accum
@@ -63,7 +63,7 @@ functions:
- type: accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundhk
- standards:
+ standards:
- stdc_ext
return_type: short accum
arguments:
@@ -71,7 +71,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundhr
- standards:
+ standards:
- stdc_ext
return_type: short fract
arguments:
@@ -79,7 +79,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundk
- standards:
+ standards:
- stdc_ext
return_type: accum
arguments:
@@ -87,7 +87,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundr
- standards:
+ standards:
- stdc_ext
return_type: fract
arguments:
@@ -95,7 +95,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundlk
- standards:
+ standards:
- stdc_ext
return_type: long accum
arguments:
@@ -103,7 +103,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundlr
- standards:
+ standards:
- stdc_ext
return_type: long fract
arguments:
@@ -111,7 +111,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: rounduhk
- standards:
+ standards:
- stdc_ext
return_type: unsigned short accum
arguments:
@@ -119,7 +119,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: rounduhr
- standards:
+ standards:
- stdc_ext
return_type: unsigned short fract
arguments:
@@ -127,7 +127,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: rounduk
- standards:
+ standards:
- stdc_ext
return_type: unsigned accum
arguments:
@@ -135,7 +135,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundur
- standards:
+ standards:
- stdc_ext
return_type: unsigned fract
arguments:
@@ -143,7 +143,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundulk
- standards:
+ standards:
- stdc_ext
return_type: unsigned long accum
arguments:
@@ -151,7 +151,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: roundulr
- standards:
+ standards:
- stdc_ext
return_type: unsigned long fract
arguments:
@@ -159,7 +159,7 @@ functions:
- type: int
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtuhk
- standards:
+ standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned short accum
@@ -167,7 +167,7 @@ functions:
- type: unsigned short accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtuhr
- standards:
+ standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned short fract
@@ -175,15 +175,15 @@ functions:
- type: unsigned short fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtuk
- standards:
- - stdc_ext
+ standards:
+ - stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned accum
arguments:
- type: unsigned accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtur
- standards:
+ standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned fract
@@ -191,8 +191,8 @@ functions:
- type: unsigned fract
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: sqrtulr
- standards:
- - stdc_ext
+ standards:
+ - stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned long fract
arguments:
@@ -204,8 +204,8 @@ functions:
arguments:
- type: unsigned long accum
guard: LIBC_COMPILER_HAS_FIXED_POINT
- - name: uhksqrtus
- standards:
+ - name: uhksqrtus
+ standards:
- stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned short accum
@@ -213,8 +213,8 @@ functions:
- type: unsigned short
guard: LIBC_COMPILER_HAS_FIXED_POINT
- name: uksqrtui
- standards:
- - stdc_ext
+ standards:
+ - stdc_ext
- llvm_libc_stdfix_ext
return_type: unsigned accum
arguments:
diff --git a/libc/newhdrgen/yaml/stdint.yaml b/libc/newhdrgen/yaml/stdint.yaml
index 5f613e1daa67f..8887f596bc8aa 100644
--- a/libc/newhdrgen/yaml/stdint.yaml
+++ b/libc/newhdrgen/yaml/stdint.yaml
@@ -1,5 +1,5 @@
header: stdint.h
-standards:
+standards:
- stdc
macros: []
types: []
diff --git a/libc/newhdrgen/yaml/stdio.yaml b/libc/newhdrgen/yaml/stdio.yaml
index f0acf5338b1d6..776e9ae30f474 100644
--- a/libc/newhdrgen/yaml/stdio.yaml
+++ b/libc/newhdrgen/yaml/stdio.yaml
@@ -21,20 +21,20 @@ objects:
object_type: FILE *
functions:
- name: remove
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *
- name: rename
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *
- type: const char *
- name: sprintf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -42,7 +42,7 @@ functions:
- type: const char *__restrict
- type: ...
- name: snprintf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -51,7 +51,7 @@ functions:
- type: const char *__restrict
- type: ...
- name: fprintf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -59,14 +59,14 @@ functions:
- type: const char *__restrict
- type: ...
- name: printf
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *__restrict
- type: ...
- name: vsprintf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -74,7 +74,7 @@ functions:
- type: const char *__restrict
- type: va_list
- name: vsnprintf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -83,7 +83,7 @@ functions:
- type: const char *__restrict
- type: va_list
- name: vfprintf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -91,30 +91,30 @@ functions:
- type: const char *__restrict
- type: va_list
- name: vprintf
- standards:
+ 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: 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:
+ standards:
- stdc
return_type: int
arguments:
@@ -122,7 +122,7 @@ functions:
- type: const char *__restrict
- type: ...
- name: vsscanf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -130,130 +130,130 @@ functions:
- type: const char *__restrict
- type: va_list
- name: scanf
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *__restrict
- type: ...
- name: fscanf
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: FILE *__restrict
- type: const char *__restrict
- - type: ...
+ - type: ...
- name: fileno
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: FILE *
- name: fdopen
- standards:
+ standards:
- POSIX
return_type: FILE *
arguments:
- type: int
- type: const char *
- name: clearerr
- standards:
+ standards:
- stdc
return_type: void
arguments:
- type: FILE *
- name: clearerr_unlocked
- standards:
+ standards:
- GNUExtensions
return_type: void
arguments:
- type: FILE *
- name: fclose
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: FILE *
- name: flockfile
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: void
arguments:
- type: FILE *
- name: feof
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: FILE *
- name: feof_unlocked
- standards:
+ standards:
- GNUExtensions
return_type: int
arguments:
- type: FILE *
- name: ferror
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: FILE *
- name: ferror_unlocked
- standards:
+ standards:
- GNUExtensions
return_type: int
arguments:
- type: FILE *
- name: fgetc
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: FILE *
- name: fgetc_unlocked
- standards:
+ standards:
- GNUExtensions
return_type: int
arguments:
- type: FILE *
- name: fgets
- standards:
- - stdc
+ standards:
+ - stdc
return_type: char *
arguments:
- type: char *__restrict
- type: int
- type: FILE *__restrict
- name: fflush
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: FILE *
- name: fopen
- standards:
- - stdc
+ standards:
+ - stdc
return_type: FILE *
arguments:
- type: const char *
- type: const char *
- name: fputc
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- type: FILE *
- name: fputs
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *__restrict
- type: FILE *__restrict
- name: fopencookie
- standards:
+ standards:
- GNUExtensions
return_type: FILE *
arguments:
@@ -261,7 +261,7 @@ functions:
- type: const char *
- type: cookie_io_functions_t
- name: fread
- standards:
+ standards:
- stdc
return_type: size_t
arguments:
@@ -270,7 +270,7 @@ functions:
- type: size_t
- type: FILE *__restrict
- name: fread_unlocked
- standards:
+ standards:
- GNUExtensions
return_type: size_t
arguments:
@@ -279,27 +279,27 @@ functions:
- type: size_t
- type: FILE *__restrict
- name: fseek
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: FILE *
- type: long
- type: int
- - name: ftell
- standards:
+ - name: ftell
+ standards:
- stdc
return_type: long
arguments:
- type: FILE *
- name: funlockfile
- standards:
+ standards:
- POSIX
return_type: void
arguments:
- type: FILE *
- name: fwrite
- standards:
+ standards:
- stdc
return_type: size_t
arguments:
@@ -308,7 +308,7 @@ functions:
- type: size_t
- type: FILE *__restrict
- name: fwrite_unlocked
- standards:
+ standards:
- GNUExtensions
return_type: size_t
arguments:
@@ -317,55 +317,55 @@ functions:
- type: size_t
- type: FILE *__restrict
- name: getc
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: FILE *
- name: getc_unlocked
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: FILE *
- name: getchar
- standards:
+ standards:
- stdc
return_type: int
arguments: []
- name: getchar_unlocked
- standards:
+ standards:
- POSIX
return_type: int
arguments: []
- name: putc
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- type: FILE *
- name: putchar
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: puts
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *
- name: setbuf
- standards:
+ standards:
- stdc
return_type: void
arguments:
- type: FILE *__restrict
- type: char *__restrict
- name: setvbuf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -374,7 +374,7 @@ functions:
- type: int
- type: size_t
- name: ungetc
- standards:
+ standards:
- stdc
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/stdlib.yaml b/libc/newhdrgen/yaml/stdlib.yaml
index 478c65bfce3d0..ac5e2260e9829 100644
--- a/libc/newhdrgen/yaml/stdlib.yaml
+++ b/libc/newhdrgen/yaml/stdlib.yaml
@@ -1,5 +1,5 @@
header: stdlib.h
-standards:
+standards:
- stdc
macros: []
types:
@@ -15,37 +15,37 @@ enums: []
objects: []
functions:
- name: abs
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: int
- name: atoi
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *
- name: atof
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: const char *__restrict
- name: atol
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: const char *
- name: atoll
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: const char *
- name: bsearch
- standards:
+ standards:
- stdc
return_type: void *
arguments:
@@ -55,40 +55,40 @@ functions:
- type: size_t
- type: __bsearchcompare_t
- name: div
- standards:
+ standards:
- stdc
return_type: div_t
arguments:
- type: int
- type: int
- name: labs
- standards:
+ standards:
- stdc
return_type: long
arguments:
- type: long
- name: ldiv
- standards:
+ standards:
- stdc
return_type: ldiv_t
arguments:
- type: long
- type: long
- name: llabs
- standards:
+ standards:
- stdc
return_type: long long
arguments:
- type: long long
- name: lldiv
- standards:
+ standards:
- stdc
return_type: lldiv_t
arguments:
- type: long long
- type: long long
- name: qsort
- standards:
+ standards:
- stdc
return_type: void
arguments:
@@ -97,8 +97,8 @@ functions:
- type: size_t
- type: __qsortcompare_t
- name: qsort_r
- standards:
- - GNUExtensions
+ standards:
+ - GNUExtensions
return_type: void
arguments:
- type: void *
@@ -107,19 +107,19 @@ functions:
- type: __qsortrcompare_t
- type: void *
- name: rand
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: void
- name: srand
- standards:
+ standards:
- stdc
return_type: void
arguments:
- type: unsigned int
- name: strfromd
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -128,7 +128,7 @@ functions:
- type: const char *__restrict
- type: double
- name: strfromf
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -137,7 +137,7 @@ functions:
- type: const char *__restrict
- type: float
- name: strfroml
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -146,21 +146,21 @@ functions:
- type: const char *__restrict
- type: long double
- name: strtod
- standards:
+ standards:
- stdc
return_type: double
arguments:
- type: const char *__restrict
- type: char **__restrict
- name: strtof
- standards:
+ standards:
- stdc
return_type: float
arguments:
- type: const char *__restrict
- type: char **__restrict
- name: strtol
- standards:
+ standards:
- stdc
return_type: long
arguments:
@@ -168,14 +168,14 @@ functions:
- type: char **__restrict
- type: int
- name: strtold
- standards:
+ standards:
- stdc
return_type: long double
arguments:
- type: const char *__restrict
- type: char **__restrict
- name: strtoll
- standards:
+ standards:
- stdc
return_type: long long
arguments:
@@ -183,7 +183,7 @@ functions:
- type: char **__restrict
- type: int
- name: strtoul
- standards:
+ standards:
- stdc
return_type: unsigned long
arguments:
@@ -191,7 +191,7 @@ functions:
- type: char **__restrict
- type: int
- name: strtoull
- standards:
+ standards:
- stdc
return_type: unsigned long long
arguments:
@@ -199,76 +199,76 @@ functions:
- type: char **__restrict
- type: int
- name: malloc
- standards:
+ standards:
- stdc
return_type: void *
arguments:
- type: size_t
- name: calloc
- standards:
+ standards:
- stdc
return_type: void *
arguments:
- type: size_t
- type: size_t
- name: realloc
- standards:
+ standards:
- stdc
return_type: void *
arguments:
- type: void *
- type: size_t
- name: aligned_alloc
- standards:
+ standards:
- stdc
return_type: void *
arguments:
- type: size_t
- type: size_t
- name: free
- standards:
+ standards:
- stdc
return_type: void
arguments:
- type: void *
- name: _Exit
- standards:
+ standards:
- stdc
return_type: _Noreturn void
arguments:
- type: int
- name: abort
- standards:
+ standards:
- stdc
return_type: _Noreturn void
arguments:
- type: void
- name: at_quick_exit
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: __atexithandler_t
- name: atexit
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: __atexithandler_t
- name: exit
- standards:
+ standards:
- stdc
return_type: _Noreturn void
arguments:
- type: int
- name: getenv
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: const char *
- name: quick_exit
- standards:
+ standards:
- stdc
return_type: _Noreturn void
arguments:
diff --git a/libc/newhdrgen/yaml/string.yaml b/libc/newhdrgen/yaml/string.yaml
index f0e8efb5b77d7..3287c8bdb6ccb 100644
--- a/libc/newhdrgen/yaml/string.yaml
+++ b/libc/newhdrgen/yaml/string.yaml
@@ -6,7 +6,7 @@ enums: []
objects: []
functions:
- name: memcpy
- standards:
+ standards:
- stdc
return_type: void *
arguments:
@@ -14,7 +14,7 @@ functions:
- type: const void *__restrict
- type: size_t
- name: memmove
- standards:
+ standards:
- stdc
return_type: void *
arguments:
@@ -22,7 +22,7 @@ functions:
- type: const void *
- type: size_t
- name: memcmp
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -30,7 +30,7 @@ functions:
- type: const void *
- type: size_t
- name: memchr
- standards:
+ standards:
- stdc
return_type: void *
arguments:
@@ -38,7 +38,7 @@ functions:
- type: int
- type: size_t
- name: memset
- standards:
+ standards:
- stdc
return_type: void *
arguments:
@@ -46,7 +46,7 @@ functions:
- type: int
- type: size_t
- name: memset_explicit
- standards:
+ standards:
- stdc
return_type: void *
arguments:
@@ -54,14 +54,14 @@ functions:
- type: int
- type: size_t
- name: strcpy
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: strncpy
- standards:
+ standards:
- stdc
return_type: char *
arguments:
@@ -69,14 +69,14 @@ functions:
- type: const char *__restrict
- type: size_t
- name: strcat
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: strncat
- standards:
+ standards:
- stdc
return_type: char *
arguments:
@@ -84,21 +84,21 @@ functions:
- type: const char *
- type: size_t
- name: strcmp
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *
- type: const char *
- name: strcoll
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: const char *
- type: const char *
- name: strncmp
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -106,7 +106,7 @@ functions:
- type: const char *
- type: size_t
- name: strxfrm
- standards:
+ standards:
- stdc
return_type: size_t
arguments:
@@ -114,14 +114,14 @@ functions:
- type: const char *__restrict
- type: size_t
- name: strchr
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: int
- name: strcspn
- standards:
+ standards:
- stdc
return_type: size_t
arguments:
@@ -132,61 +132,61 @@ functions:
arguments:
- type: const char *
- name: strndup
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: size_t
- name: strpbrk
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: const char *
- name: strrchr
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: int
- name: strspn
- standards:
+ standards:
- stdc
return_type: size_t
arguments:
- type: const char *
- type: const char *
- name: strstr
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: const char *
- type: const char *
- name: strtok
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: strerror
- standards:
+ standards:
- stdc
return_type: char *
arguments:
- type: int
- name: strlen
- standards:
+ standards:
- stdc
return_type: size_t
arguments:
- type: const char *
- name: memccpy
- standards:
+ standards:
- POSIX
return_type: void *
arguments:
@@ -195,7 +195,7 @@ functions:
- type: int
- type: size_t
- name: mempcpy
- standards:
+ standards:
- POSIX
return_type: void *
arguments:
@@ -203,14 +203,14 @@ functions:
- type: const void *__restrict
- type: size_t
- name: stpcpy
- standards:
+ standards:
- POSIX
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: stpncpy
- standards:
+ standards:
- POSIX
return_type: char *
arguments:
@@ -218,14 +218,14 @@ functions:
- type: const char *__restrict
- type: size_t
- name: strnlen
- standards:
+ standards:
- POSIX
return_type: size_t
arguments:
- type: const char *
- type: size_t
- name: strtok_r
- standards:
+ standards:
- POSIX
return_type: char *
arguments:
@@ -233,13 +233,13 @@ functions:
- type: const char *__restrict
- type: char ** __restrict
- name: strsignal
- standards:
+ standards:
- POSIX
return_type: char *
arguments:
- type: int
- name: memmem
- standards:
+ standards:
- GNUExtensions
return_type: void *
arguments:
@@ -248,7 +248,7 @@ functions:
- type: const void *
- type: size_t
- name: memrchr
- standards:
+ standards:
- GNUExtensions
return_type: void *
arguments:
@@ -256,7 +256,7 @@ functions:
- type: int
- type: size_t
- name: strerror_r
- standards:
+ standards:
- GNUExtensions
return_type: char *
arguments:
@@ -264,21 +264,21 @@ functions:
- type: char *
- type: size_t
- name: strcasestr
- standards:
+ standards:
- GNUExtensions
return_type: char *
arguments:
- type: const char *
- type: const char *
- name: strchrnul
- standards:
+ standards:
- GNUExtensions
return_type: char *
arguments:
- type: const char *
- type: int
- name: strlcat
- standards:
+ standards:
- BSDExtensions
return_type: size_t
arguments:
@@ -286,7 +286,7 @@ functions:
- type: const char *__restrict
- type: size_t
- name: strlcpy
- standards:
+ standards:
- BSDExtensions
return_type: size_t
arguments:
@@ -294,7 +294,7 @@ functions:
- type: const char *__restrict
- type: size_t
- name: strsep
- standards:
+ standards:
- BSDExtensions
return_type: char *
arguments:
diff --git a/libc/newhdrgen/yaml/strings.yaml b/libc/newhdrgen/yaml/strings.yaml
index 3bc0c4a76dd1b..eda8a5ae1bb90 100644
--- a/libc/newhdrgen/yaml/strings.yaml
+++ b/libc/newhdrgen/yaml/strings.yaml
@@ -5,7 +5,7 @@ enums: []
objects: []
functions:
- name: bcopy
- standards:
+ standards:
- llvm_libc_ext
return_type: void
arguments:
@@ -13,14 +13,14 @@ functions:
- type: void *
- type: size_t
- name: bzero
- standards:
+ standards:
- llvm_libc_ext
return_type: void
arguments:
- type: void *
- type: size_t
- name: bcmp
- standards:
+ standards:
- llvm_libc_ext
return_type: int
arguments:
@@ -28,14 +28,14 @@ functions:
- type: const void *
- type: size_t
- name: strcasecmp
- standards:
+ standards:
- BSDExtensions
return_type: int
arguments:
- type: const char *
- type: const char *
- name: strncasecmp
- standards:
+ standards:
- BSDExtensions
return_type: int
arguments:
@@ -43,14 +43,14 @@ functions:
- type: const char *
- type: size_t
- name: index
- standards:
+ standards:
- BSDExtensions
return_type: char *
arguments:
- type: const char *
- type: int
- name: rindex
- standards:
+ standards:
- BSDExtensions
return_type: char *
arguments:
diff --git a/libc/newhdrgen/yaml/sys/auxv.yaml b/libc/newhdrgen/yaml/sys/auxv.yaml
index 072f63b36865c..9d546b3588243 100644
--- a/libc/newhdrgen/yaml/sys/auxv.yaml
+++ b/libc/newhdrgen/yaml/sys/auxv.yaml
@@ -5,7 +5,7 @@ enums: []
objects: []
functions:
- name: getauxval
- standards:
+ standards:
- GNUExtensions
return_type: unsigned long
arguments:
diff --git a/libc/newhdrgen/yaml/sys/epoll.yaml b/libc/newhdrgen/yaml/sys/epoll.yaml
index 18d8f59de15f1..3b55ce4f24d49 100644
--- a/libc/newhdrgen/yaml/sys/epoll.yaml
+++ b/libc/newhdrgen/yaml/sys/epoll.yaml
@@ -9,19 +9,19 @@ enums: []
objects: []
functions:
- name: epoll_create
- standards:
+ standards:
- Linux
return_type: int
arguments:
- type: int
- name: epoll_create1
- standards:
+ standards:
- Linux
return_type: int
arguments:
- type: int
- name: epoll_ctl
- standards:
+ standards:
- Linux
return_type: int
arguments:
@@ -30,7 +30,7 @@ functions:
- type: int
- type: struct epoll_event *
- name: epoll_wait
- standards:
+ standards:
- Linux
return_type: int
arguments:
@@ -39,7 +39,7 @@ functions:
- type: int
- type: int
- name: epoll_pwait
- standards:
+ standards:
- Linux
return_type: int
arguments:
@@ -49,7 +49,7 @@ functions:
- type: int
- type: const sigset_t *
- name: epoll_pwait2
- standards:
+ standards:
- Linux
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/sys/mman.yaml b/libc/newhdrgen/yaml/sys/mman.yaml
index c465f6b2c791e..193700ce4041a 100644
--- a/libc/newhdrgen/yaml/sys/mman.yaml
+++ b/libc/newhdrgen/yaml/sys/mman.yaml
@@ -8,7 +8,7 @@ enums: []
objects: []
functions:
- name: madvise
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -16,7 +16,7 @@ functions:
- type: size_t
- type: int
- name: mmap
- standards:
+ standards:
- POSIX
return_type: void *
arguments:
@@ -27,7 +27,7 @@ functions:
- type: int
- type: off_t
- name: mprotect
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -35,14 +35,14 @@ functions:
- type: size_t
- type: int
- name: munmap
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: void *
- type: size_t
- name: posix_madvise
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -50,7 +50,7 @@ functions:
- type: size_t
- type: int
- name: mincore
- standards:
+ standards:
- Linux
return_type: int
arguments:
@@ -58,14 +58,14 @@ functions:
- type: size_t
- type: unsigned char *
- name: mlock
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: void *
- type: size_t
- name: mlock2
- standards:
+ standards:
- Linux
return_type: int
arguments:
@@ -79,19 +79,19 @@ functions:
- type: void *
- type: size_t
- name: mlockall
- standards:
+ standards:
-POSIX
return_type: int
arguments:
- type: int
- name: munlockall
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: void
- name: msync
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -99,7 +99,7 @@ functions:
- type: size_t
- type: int
- name: shm_open
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -107,9 +107,9 @@ functions:
- type: int
- type: mode_t
- name: shm_unlink
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/libc/newhdrgen/yaml/sys/random.yaml b/libc/newhdrgen/yaml/sys/random.yaml
index 6d84056d7dd71..228bb50d5db99 100644
--- a/libc/newhdrgen/yaml/sys/random.yaml
+++ b/libc/newhdrgen/yaml/sys/random.yaml
@@ -7,7 +7,7 @@ enums: []
objects: []
functions:
- name: getrandom
- standards:
+ standards:
- Linux
return_type: ssize_t
arguments:
diff --git a/libc/newhdrgen/yaml/sys/resource.yaml b/libc/newhdrgen/yaml/sys/resource.yaml
index 2cc801c823ed1..85ea1ad12f19f 100644
--- a/libc/newhdrgen/yaml/sys/resource.yaml
+++ b/libc/newhdrgen/yaml/sys/resource.yaml
@@ -7,13 +7,13 @@ enums: []
objects: []
functions:
- name: getrlimit
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: struct rlimit *
- name: setrlimit
- standards:
+ standards:
- POSIX
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/sys/select.yaml b/libc/newhdrgen/yaml/sys/select.yaml
index eb621f7d14750..c6806122aa816 100644
--- a/libc/newhdrgen/yaml/sys/select.yaml
+++ b/libc/newhdrgen/yaml/sys/select.yaml
@@ -11,7 +11,7 @@ enums: []
objects: []
functions:
- name: select
- standards:
+ standards:
- POSIX
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/sys/sendfile.yaml b/libc/newhdrgen/yaml/sys/sendfile.yaml
index 8743bf01b99ba..7e45e40e171da 100644
--- a/libc/newhdrgen/yaml/sys/sendfile.yaml
+++ b/libc/newhdrgen/yaml/sys/sendfile.yaml
@@ -6,13 +6,13 @@ types:
- type_name: off_t
enums: []
objects: []
-functions:
+functions:
- name: sendfile
- standards:
+ standards:
- GNUExtensions
return_type: ssize_t
- arguments:
- - type: int
- - type: int
- - type: off_t *
- - type: size_t
+ arguments:
+ - type: int
+ - type: int
+ - type: off_t *
+ - type: size_t
diff --git a/libc/newhdrgen/yaml/sys/socket.yaml b/libc/newhdrgen/yaml/sys/socket.yaml
index f9984c638ceae..06ffa295a17f0 100644
--- a/libc/newhdrgen/yaml/sys/socket.yaml
+++ b/libc/newhdrgen/yaml/sys/socket.yaml
@@ -9,7 +9,7 @@ enums: []
objects: []
functions:
- name: socket
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -17,7 +17,7 @@ functions:
- type: int
- type: int
- name: bind
- standards:
+ standards:
- POSIX
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/sys/stat.yaml b/libc/newhdrgen/yaml/sys/stat.yaml
index 6ae69b4f870a2..ed500f832f90e 100644
--- a/libc/newhdrgen/yaml/sys/stat.yaml
+++ b/libc/newhdrgen/yaml/sys/stat.yaml
@@ -17,21 +17,21 @@ enums: []
objects: []
functions:
- name: chmod
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: mode_t
- name: fchmod
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- type: mode_t
- name: fchmodat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -40,28 +40,28 @@ functions:
- type: mode_t
- type: int
- name: fstat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct stat *
- name: lstat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *__restrict
- type: struct stat *__restrict
- name: mkdir
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: mode_t
- name: mkdirat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -69,7 +69,7 @@ functions:
- type: const char *
- type: mode_t
- name: stat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/sys/statvfs.yaml b/libc/newhdrgen/yaml/sys/statvfs.yaml
index 53666770a5de6..952ee88c82e9d 100644
--- a/libc/newhdrgen/yaml/sys/statvfs.yaml
+++ b/libc/newhdrgen/yaml/sys/statvfs.yaml
@@ -8,16 +8,16 @@ enums: []
objects: []
functions:
- name: statvfs
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *__restrict
- type: struct statvfs *__restrict
- name: fstatvfs
- standards:
+ standards:
- POSIX
return_type: int
- arguments:
+ arguments:
- type: int
- type: struct statvfs *
diff --git a/libc/newhdrgen/yaml/sys/utsname.yaml b/libc/newhdrgen/yaml/sys/utsname.yaml
index c48f7e3270748..eecd55b180829 100644
--- a/libc/newhdrgen/yaml/sys/utsname.yaml
+++ b/libc/newhdrgen/yaml/sys/utsname.yaml
@@ -6,7 +6,7 @@ enums: []
objects: []
functions:
- name: uname
- standards:
+ standards:
- POSIX
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/sys/wait.yaml b/libc/newhdrgen/yaml/sys/wait.yaml
index 2f2f70d0e9745..4f0c69baee2c4 100644
--- a/libc/newhdrgen/yaml/sys/wait.yaml
+++ b/libc/newhdrgen/yaml/sys/wait.yaml
@@ -8,15 +8,15 @@ enums: []
objects: []
functions:
- name: wait
- standards:
+ standards:
- POSIX
return_type: pid_t
arguments:
- type: int *
- name: wait4
- standards:
+ standards:
- BSDExtensions
- - POSIX
+ - POSIX
return_type: pid_t
arguments:
- type: pid_t
@@ -24,7 +24,7 @@ functions:
- type: int
- type: struct rusage *
- name: waitpid
- standards:
+ standards:
- POSIX
return_type: pid_t
arguments:
diff --git a/libc/newhdrgen/yaml/termios.yaml b/libc/newhdrgen/yaml/termios.yaml
index 045279f5e9ff5..7e4a0ff1d6a18 100644
--- a/libc/newhdrgen/yaml/termios.yaml
+++ b/libc/newhdrgen/yaml/termios.yaml
@@ -10,73 +10,73 @@ enums: []
objects: []
functions:
- name: cfgetispeed
- standards:
+ standards:
- POSIX
return_type: speed_t
arguments:
- type: const struct termios *
- name: cfgetospeed
- standards:
+ standards:
- POSIX
return_type: speed_t
arguments:
- type: const struct termios *
- name: cfsetispeed
- standards:
+ standards:
- POSIX
return_type: speed_t
arguments:
- type: struct termios *
- type: speed_t
- name: cfsetospeed
- standards:
+ standards:
- POSIX
return_type: speed_t
arguments:
- type: struct termios *
- type: speed_t
- name: tcgetattr
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct termios *
- name: tcgetsid
- standards:
+ standards:
- POSIX
return_type: pid_t
arguments:
- type: int
- name: tcdrain
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: tcflow
- standards:
- - POSIX
+ standards:
+ - POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcflush
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcsendbreak
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcsetattr
- standards:
+ standards:
- POSIX
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/threads.yaml b/libc/newhdrgen/yaml/threads.yaml
index 73da229b52713..cceb48df6a723 100644
--- a/libc/newhdrgen/yaml/threads.yaml
+++ b/libc/newhdrgen/yaml/threads.yaml
@@ -31,70 +31,70 @@ enums:
objects: []
functions:
- name: call_once
- standards:
+ standards:
- stdc
return_type: void
arguments:
- type: once_flag *
- type: __call_once_func_t
- name: cnd_broadcast
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_destroy
- standards:
+ standards:
- stdc
return_type: void
arguments:
- type: cnd_t *
- name: cnd_init
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_signal
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_wait
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- type: mtx_t *
- name: mtx_init
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- type: int
- name: mtx_destroy
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: void
- name: mtx_lock
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- name: mtx_unlock
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- name: thrd_create
- standards:
+ standards:
- stdc
return_type: int
arguments:
@@ -102,46 +102,46 @@ functions:
- type: thrd_start_t
- type: void *
- name: thrd_join
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- type: int *
- name: thrd_detach
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- name: thrd_current
- standards:
+ standards:
- stdc
return_type: thrd_t
arguments:
- type: void
- name: thrd_equal
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- type: thrd_t
- name: thrd_exit
- standards:
+ standards:
- stdc
return_type: void
arguments:
- type: int
- name: tss_create
- standards:
+ standards:
- stdc
return_type: int
arguments:
- type: tss_t *
- type: tss_dtor_t
- name: tss_delete
- standards:
+ standards:
- stdc
return_type: int
arguments:
diff --git a/libc/newhdrgen/yaml/time.yaml b/libc/newhdrgen/yaml/time.yaml
index 220d4328dbbdb..a4605a23fdc03 100644
--- a/libc/newhdrgen/yaml/time.yaml
+++ b/libc/newhdrgen/yaml/time.yaml
@@ -17,67 +17,67 @@ functions:
arguments:
- type: const struct tm *
- name: asctime_r
- standard:
+ standard:
- stdc
return_type: char *
arguments:
- type: struct tm *
- type: char *
- name: clock_gettime
- standard:
+ standard:
- POSIX
return_type: int
arguments:
- type: clockid_t
- type: struct timespec *
- name: clock
- standard:
+ standard:
- stdc
return_type: clock_t
arguments:
- type: void
- name: difftime
- standard:
+ standard:
- stdc
return_type: double
arguments:
- type: time_t
- type: time_t
- name: gettimeofday
- standard:
+ standard:
- POSIX
return_type: int
arguments:
- type: struct timeval *
- type: void *
- name: gmtime
- standard:
+ standard:
- stdc
return_type: struct tm *
arguments:
- type: time_t *
- name: gmtime_r
- standard:
+ standard:
- stdc
return_type: struct tm *
arguments:
- type: time_t *
- type: struct tm *
- name: mktime
- standard:
+ standard:
- stdc
return_type: time_t
arguments:
- type: struct tm *
- name: nanosleep
- standard:
+ standard:
- POSIX
return_type: int
arguments:
- type: const struct timespec *
- type: struct timespec *
- name: time
- standard:
+ standard:
- stdc
return_type: time_t
arguments:
diff --git a/libc/newhdrgen/yaml/uchar.yaml b/libc/newhdrgen/yaml/uchar.yaml
index a73da17acdeac..dd111af6294d7 100644
--- a/libc/newhdrgen/yaml/uchar.yaml
+++ b/libc/newhdrgen/yaml/uchar.yaml
@@ -1,5 +1,5 @@
header: uchar.h
-standards:
+standards:
- stdc
macros: []
types:
diff --git a/libc/newhdrgen/yaml/unistd.yaml b/libc/newhdrgen/yaml/unistd.yaml
index 42aecb2f31e5e..f52ddf41f2451 100644
--- a/libc/newhdrgen/yaml/unistd.yaml
+++ b/libc/newhdrgen/yaml/unistd.yaml
@@ -23,39 +23,39 @@ objects:
object_type: int
functions:
- name: access
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: int
- name: chdir
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: close
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: dup
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: dup2
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: dup3
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -63,7 +63,7 @@ functions:
- type: int
- type: int
- name: execve
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -71,57 +71,57 @@ functions:
- type: __exec_argv_t
- type: __exec_envp_t
- name: fchdir
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: fsync
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: ftruncate
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- type: off_t
- name: getcwd
- standards:
+ standards:
- POSIX
return_type: char *
arguments:
- type: char *
- type: size_t
- name: geteuid
- standards:
+ standards:
- POSIX
return_type: uid_t
arguments:
- type: void
- name: getpid
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: void
- name: getppid
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: void
- name: getuid
- standards:
+ standards:
- POSIX
return_type: uid_t
arguments:
- type: void
- name: isatty
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -129,14 +129,14 @@ functions:
guard: null
attributes: []
- name: link
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: const char *
- name: linkat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -145,8 +145,8 @@ functions:
- type: int
- type: const char *
- type: int
- - name: lseek
- standards:
+ - name: lseek
+ standards:
- POSIX
return_type: off_t
arguments:
@@ -154,13 +154,13 @@ functions:
- type: off_t
- type: int
- name: pipe
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int *
- name: pread
- standards:
+ standards:
- POSIX
return_type: ssize_t
arguments:
@@ -169,7 +169,7 @@ functions:
- type: size_t
- type: off_t
- name: pwrite
- standards:
+ standards:
- POSIX
return_type: ssize_t
arguments:
@@ -178,7 +178,7 @@ functions:
- type: size_t
- type: off_t
- name: read
- standards:
+ standards:
- POSIX
return_type: ssize_t
arguments:
@@ -186,7 +186,7 @@ functions:
- type: void *
- type: size_t
- name: readlink
- standards:
+ standards:
- POSIX
return_type: ssize_t
arguments:
@@ -194,7 +194,7 @@ functions:
- type: char *__restrict
- type: size_t
- name: readlinkat
- standards:
+ standards:
- POSIX
return_type: ssize_t
arguments:
@@ -202,20 +202,20 @@ functions:
- type: char *__restrict
- type: size_t
- name: rmdir
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: symlink
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: const char *
- name: symlinkat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -224,26 +224,26 @@ functions:
- type: int
- type: const char *
- name: sysconf
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: int
- name: truncate
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: off_t
- name: unlink
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: unlinkat
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -251,7 +251,7 @@ functions:
- type: const char *
- type: int
- name: write
- standards:
+ standards:
- POSIX
return_type: ssize_t
arguments:
@@ -261,26 +261,26 @@ functions:
guard: null
attributes: []
- name: _exit
- standards:
+ standards:
- POSIX
return_type: _Noreturn void
arguments:
- type: int
- name: execv
- standards:
+ standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: __exec_argv_t
- name: fork
- standards:
+ standards:
- POSIX
return_type: pid_t
arguments:
- type: void
- name: __llvm_libc_syscall
- standards:
+ standards:
- POSIX
return_type: long
arguments:
@@ -292,7 +292,7 @@ functions:
- type: long
- type: long
- name: getopt
- standards:
+ standards:
- POSIX
return_type: int
arguments:
@@ -300,7 +300,7 @@ functions:
- type: __getoptargv_t
- type: const char *
- name: swab
- standards:
+ standards:
- POSIX
return_type: void
arguments:
@@ -308,7 +308,7 @@ functions:
- type: void *
- type: ssize_t
- name: gettid
- standards:
+ standards:
- Linux
return_type: pid_t
arguments:
diff --git a/libc/newhdrgen/yaml/wchar.yaml b/libc/newhdrgen/yaml/wchar.yaml
index e5627d14ed9be..bc824b21d8be1 100644
--- a/libc/newhdrgen/yaml/wchar.yaml
+++ b/libc/newhdrgen/yaml/wchar.yaml
@@ -9,7 +9,7 @@ enums: []
objects: []
functions:
- name: wctob
- standards:
+ standards:
- stdc
return_type: int
arguments:
More information about the libc-commits
mailing list