[libc] final edits to newheadergen yaml files (#98983)

- final run of integration tests to deal with incorrect YAML input
(finished sys headers, will finish the rest today)
- add any new functions made in recent PRs
This commit is contained in:
RoseZhang03 2024-07-17 23:34:53 +00:00 committed by GitHub
parent 83fbd79319
commit 9ce5b38dc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 14 additions and 11 deletions

View File

@ -45,6 +45,7 @@ set(TARGET_PUBLIC_HEADERS
libc.include.sys_select
libc.include.sys_socket
libc.include.sys_stat
libc.include.sys_statvfs
libc.include.sys_syscall
libc.include.sys_time
libc.include.sys_types

View File

@ -1,9 +1,6 @@
header: arpa-inet.h
macros: []
types:
- type_name: uint32_t
- type_name: uint16_t
- type_name: inttypes.h
types: []
enums: []
objects: []
functions:

View File

@ -13,4 +13,3 @@ functions:
- type: const char *
- type: unsigned
- type: const char *
guard: __cplusplus

View File

@ -7,6 +7,12 @@ types:
enums: []
objects: []
functions:
- name: cbrt
standards:
- stdc
return_type: double
arguments:
- type: double
- name: cbrtf
standards:
- stdc

View File

@ -8,12 +8,12 @@ types:
- type_name: pthread_key_t
- type_name: pthread_condattr_t
- type_name: __pthread_tss_dtor_t
- type_name: pthread_rwlock_t
- type_name: pthread_rwlockattr_t
- type_name: pthread_attr_t
- type_name: __pthread_start_t
- type_name: __pthread_once_func_t
- type_name: __atfork_callback_t
- type_name: pthread_rwlock_t
enums: []
functions:
- name: pthread_atfork
@ -106,7 +106,7 @@ functions:
return_type: int
arguments:
- type: const pthread_condattr_t *__restrict
- type: clockid_t * __restrict
- type: clockid_t *__restrict
- name: pthread_condattr_getpshared
standards:
- POSIX
@ -200,7 +200,8 @@ functions:
standards:
- POSIX
return_type: pthread_t
arguments: []
arguments:
- type: void
- name: pthread_setname_np
standards:
- GNUExtensions

View File

@ -1,7 +1,6 @@
header: search.h
macros: []
types:
- type_name: size_t
- type_name: struct_hsearch_data
- type_name: ENTRY
- type_name: ACTION

View File

@ -1,8 +1,7 @@
header: sys-time.h
standards: Linux
macros: []
types:
- type_name: struct_timeval
types: []
enums: []
functions: []
objects: []

View File

@ -4,6 +4,7 @@ types:
- type_name: size_t
- type_name: wint_t
- type_name: wchar_t
- type_name: mbstate_t.h
enums: []
objects: []
functions: