396 changes: 396 additions & 0 deletions libc/newhdrgen/yaml/stdbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,396 @@
header: stdbit.h
macros: []
types: []
enums: []
objects: []
functions:
- name: stdc_leading_zeros_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_leading_zeros_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_leading_zeros_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_leading_zeros_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_leading_zeros_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_leading_ones_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_leading_ones_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_leading_ones_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_leading_ones_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_leading_ones_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_trailing_zeros_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_trailing_zeros_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_trailing_zeros_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_trailing_zeros_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_trailing_zeros_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_trailing_ones_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_trailing_ones_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_trailing_ones_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_trailing_ones_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_trailing_ones_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_first_leading_zero_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_first_leading_zero_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_first_leading_zero_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_first_leading_zero_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_first_leading_zero_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_first_leading_one_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_first_leading_one_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_first_leading_one_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_first_leading_one_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_first_leading_one_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_first_trailing_one_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_first_trailing_one_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_first_trailing_one_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_first_trailing_one_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_first_trailing_one_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_count_zeros_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_count_zeros_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_count_zeros_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_count_zeros_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_count_zeros_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_count_ones_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_count_ones_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_count_ones_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_count_ones_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_count_ones_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_has_single_bit_uc
standards:
- stdc
return_type: bool
arguments:
- type: unsigned char
- name: stdc_has_single_bit_us
standards:
- stdc
return_type: bool
arguments:
- type: unsigned short
- name: stdc_has_single_bit_ui
standards:
- stdc
return_type: bool
arguments:
- type: unsigned int
- name: stdc_has_single_bit_ul
standards:
- stdc
return_type: bool
arguments:
- type: unsigned long
- name: stdc_has_single_bit_ull
standards:
- stdc
return_type: bool
arguments:
- type: unsigned long long
- name: stdc_bit_width_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_bit_width_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_bit_width_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_bit_width_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_bit_width_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_bit_floor_uc
standards:
- stdc
return_type: unsigned char
arguments:
- type: unsigned char
- name: stdc_bit_floor_us
standards:
- stdc
return_type: unsigned short
arguments:
- type: unsigned short
- name: stdc_bit_floor_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_bit_floor_ul
standards:
- stdc
return_type: unsigned long
arguments:
- type: unsigned long
- name: stdc_bit_floor_ull
standards:
- stdc
return_type: unsigned long long
arguments:
- type: unsigned long long
- name: stdc_bit_ceil_uc
standards:
- stdc
return_type: unsigned char
arguments:
- type: unsigned char
- name: stdc_bit_ceil_us
standards:
- stdc
return_type: unsigned short
arguments:
- type: unsigned short
- name: stdc_bit_ceil_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_bit_ceil_ul
standards:
- stdc
return_type: unsigned long
arguments:
- type: unsigned long
- name: stdc_bit_ceil_ull
standards:
- stdc
return_type: unsigned long long
arguments:
- type: unsigned long long
8 changes: 8 additions & 0 deletions libc/newhdrgen/yaml/stdckdint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
header: stdckdint.h
standards:
- stdc
macros: []
types: []
enums: []
objects: []
functions: []
8 changes: 8 additions & 0 deletions libc/newhdrgen/yaml/stdint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
header: stdint.h
standards:
- stdc
macros: []
types: []
enums: []
objects: []
functions: []
8 changes: 8 additions & 0 deletions libc/newhdrgen/yaml/sys_auxv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
header: sys-auxv.h
standards:
- GNUExtensions
macros: []
types: []
enums: []
objects: []
functions: []
60 changes: 60 additions & 0 deletions libc/newhdrgen/yaml/sys_epoll.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
header: sys-epoll.h
macros: []
types:
- type_name: struct_epoll_event
- type_name: struct_epoll_data
- type_name: sigset_t
- type_name: struct_timespec
enums: []
objects: []
functions:
- name: epoll_create
standards:
- Linux
return_type: int
arguments:
- type: int
- name: epoll_create1
standards:
- Linux
return_type: int
arguments:
- type: int
- name: epoll_ctl
standards:
- Linux
return_type: int
arguments:
- type: int
- type: int
- type: int
- type: struct epoll_event *
- name: epoll_wait
standards:
- Linux
return_type: int
arguments:
- type: int
- type: struct epoll_event *
- type: int
- type: int
- name: epoll_pwait
standards:
- Linux
return_type: int
arguments:
- type: int
- type: struct epoll_event *
- type: int
- type: int
- type: const sigset_t *
- name: epoll_pwait2
standards:
- Linux
return_type: int
arguments:
- type: int
- type: struct epoll_event *
- type: int
- type: const struct timespec *
- type: const sigset_t *
7 changes: 7 additions & 0 deletions libc/newhdrgen/yaml/sys_ioctl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
header: sys-ioctl.h
standards: POSIX
macros: []
types: []
enums: []
objects: []
functions: []
7 changes: 7 additions & 0 deletions libc/newhdrgen/yaml/sys_prctl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
header: sys-prctl.h
standards: Linux
macros: []
types: []
enums: []
objects: []
functions: []
16 changes: 16 additions & 0 deletions libc/newhdrgen/yaml/sys_random.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
header: sys-random.h
macros: []
types:
- type_name: ssize_t
- type_name: size_t
enums: []
objects:
functions:
- name: getrandom
standards:
- Linux
return_type: ssize_t
arguments:
- type: void *
- type: size_t
- type: unsigned int
20 changes: 20 additions & 0 deletions libc/newhdrgen/yaml/sys_resource.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
header: sys-resource.h
macros: []
types:
- type_name: struct_rlimit
- type_name: rlim_t
enums: []
objects: []
functions:
- name: getrlimit
standards:
- POSIX
return_type: int
arguments:
- type: struct rlimit *
- name: setrlimit
standards:
- POSIX
return_type: int
arguments:
- type: const struct rlimit
22 changes: 22 additions & 0 deletions libc/newhdrgen/yaml/sys_select.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
header: sys-select.h
macros: []
types:
- type_name: struct_timeval
- type_name: struct_timespec
- type_name: suseconds_t
- type_name: sigset_t
- type_name: time_t
- type_name: fd_set
enums: []
objects: []
functions:
- name: select
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: fd_set *__restrict
- type: fd_set *__restrict
- type: fd_set *__restrict
- type: struct timeval *__restrict
18 changes: 18 additions & 0 deletions libc/newhdrgen/yaml/sys_sendfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
header: sys-sendfile.h
macros: []
types:
- type_name: ssize_t
- type_name: size_t
- type_name: off_t
enums: []
objects: []
functions:
- name: sendfile
standards:
- GNUExtensions
return_type: ssize_t
arguments:
- type: int
- type: int
- type: off_t *
- type: size_t
26 changes: 26 additions & 0 deletions libc/newhdrgen/yaml/sys_socket.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
header: sys-socket.h
macros: []
types:
- type_name: struct_sockaddr_un
- type_name: struct_sockaddr
- type_name: socklen_t
- type_name: sa_family_t
enums: []
objects: []
functions:
- name: socket
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- type: int
- name: bind
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const struct sockaddr *
- type: socklen_t
77 changes: 77 additions & 0 deletions libc/newhdrgen/yaml/sys_stat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
header: sys-stat.h
macros: []
types:
- type_name: blkcnt_t
- type_name: blksize_t
- type_name: off_t
- type_name: struct_timeval
- type_name: gid_t
- type_name: struct_stat
- type_name: uid_t
- type_name: nlink_t
- type_name: dev_t
- type_name: struct_timespec
- type_name: ino_t
- type_name: mode_t
enums: []
objects: []
functions:
- name: chmod
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: mode_t
- name: fchmod
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: mode_t
- name: fchmodat
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const char *
- type: mode_t
- type: int
- name: fstat
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct stat *
- name: lstat
standards:
- POSIX
return_type: int
arguments:
- type: const char *__restrict
- type: struct stat *__restrict
- name: mkdir
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: mode_t
- name: mkdirat
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const char *
- type: mode_t
- name: stat
standards:
- POSIX
return_type: int
arguments:
- type: const char *__restrict
- type: struct stat *__restrict
21 changes: 21 additions & 0 deletions libc/newhdrgen/yaml/sys_statvfs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
header: sys-statvfs.h
macros: []
types:
- type_name: struct_statvfs
enums: []
objects: []
functions:
- name: statvfs
standards:
- POSIX
return_type: int
arguments:
- type: const char *__restrict
- type: struct statvfs *__restrict
- name: fstatvfs
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct statvfs *
8 changes: 8 additions & 0 deletions libc/newhdrgen/yaml/sys_time.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
header: sys-time.h
standards: Linux
macros: []
types:
- type_name: struct_timeval
enums: []
functions: []
objects: []
30 changes: 30 additions & 0 deletions libc/newhdrgen/yaml/sys_types.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
header: sys-types.h
standards: POSIX
macros: []
types:
- type_name: uid_t
- type_name: time_t
- type_name: pthread_t
- type_name: pthread_rwlockattr_t
- type_name: pthread_mutex_t
- type_name: blkcnt_t
- type_name: blksize_t
- type_name: clockid_t
- type_name: ssize_t
- type_name: pthread_mutexattr_t
- type_name: ino_t
- type_name: pthread_once_t
- type_name: mode_t
- type_name: dev_t
- type_name: pthread_attr_t
- type_name: gid_t
- type_name: pid_t
- type_name: nlink_t
- type_name: suseconds_t
- type_name: off_t
- type_name: size_t
- type_name: pthread_key_t
- type_name: pthread_condattr_t
enums: []
functions: []
objects: []
13 changes: 13 additions & 0 deletions libc/newhdrgen/yaml/sys_utsname.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
header: sys-utsname.h
macros: []
types:
- type_name: struct_utsname
enums: []
objects: []
functions:
- name: uname
standards:
- POSIX
return_type: int
arguments:
- type: struct utsname *
85 changes: 85 additions & 0 deletions libc/newhdrgen/yaml/termios.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
header: termios.h
macros: []
types:
- type_name: tcflag_t
- type_name: struct_termios
- type_name: speed_t
- type_name: pid_t
- type_name: cc_t
enums: []
objects: []
functions:
- name: cfgetispeed
standards:
- POSIX
return_type: speed_t
arguments:
- type: const struct termios *
- name: cfgetospeed
standards:
- POSIX
return_type: speed_t
arguments:
- type: const struct termios *
- name: cfsetispeed
standards:
- POSIX
return_type: int
arguments:
- type: struct termios *
- type: speed_t
- name: cfsetospeed
standards:
- POSIX
return_type: int
arguments:
- type: struct termios *
- type: speed_t
- name: tcgetattr
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct termios *
- name: tcgetsid
standards:
- POSIX
return_type: pid_t
arguments:
- type: int
- name: tcdrain
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: tcflow
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcflush
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcsendbreak
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcsetattr
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- type: struct termios *
148 changes: 148 additions & 0 deletions libc/newhdrgen/yaml/threads.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
header: threads.h
macros:
- macro_name: ONCE_FLAG_INIT
macro_value: "{0}"
types:
- type_name: once_flag
- type_name: __call_once_func_t
- type_name: cnd_t
- type_name: mtx_t
- type_name: thrd_start_t
- type_name: thrd_t
- type_name: tss_t
- type_name: tss_dtor_t
enums:
- name: mtx_plain
value: null
- name: mtx_recursive
value: null
- name: mtx_timed
value: null
- name: thrd_timedout
value: null
- name: thrd_success
value: null
- name: thrd_busy
value: null
- name: thrd_error
value: null
- name: thrd_nomem
value: null
objects: []
functions:
- name: call_once
standards:
- stdc
return_type: void
arguments:
- type: once_flag *
- type: __call_once_func_t
- name: cnd_broadcast
standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_destroy
standards:
- stdc
return_type: void
arguments:
- type: cnd_t *
- name: cnd_init
standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_signal
standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- name: cnd_wait
standards:
- stdc
return_type: int
arguments:
- type: cnd_t *
- type: mtx_t *
- name: mtx_init
standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- type: int
- name: mtx_destroy
standards:
- stdc
return_type: int
arguments:
- type: void
- name: mtx_lock
standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- name: mtx_unlock
standards:
- stdc
return_type: int
arguments:
- type: mtx_t *
- name: thrd_create
standards:
- stdc
return_type: int
arguments:
- type: thrd_t *
- type: thrd_start_t
- type: void *
- name: thrd_join
standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- type: int *
- name: thrd_detach
standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- name: thrd_current
standards:
- stdc
return_type: thrd_t
arguments:
- type: void
- name: thrd_equal
standards:
- stdc
return_type: int
arguments:
- type: thrd_t
- type: thrd_t
- name: thrd_exit
standards:
- stdc
return_type: void
arguments:
- type: int
- name: tss_create
standards:
- stdc
return_type: int
arguments:
- type: tss_t *
- type: tss_dtor_t
- name: tss_delete
standards:
- stdc
return_type: int
arguments:
- type: tss_t
12 changes: 12 additions & 0 deletions libc/newhdrgen/yaml/uchar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
header: uchar.h
standards:
- stdc
macros: []
types:
- type_name: char32_t
- type_name: char16_t
- type_name: char8_t
- type_name: mbstate_t
enums: []
objects: []
functions: []
329 changes: 329 additions & 0 deletions libc/newhdrgen/yaml/unistd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,329 @@
header: unistd.h
macros: []
types:
- type_name: uid_t
- type_name: ssize_t
- type_name: size_t
- type_name: pid_t
- type_name: off_t
- type_name: __getoptargv_t
- type_name: __exec_envp_t
- type_name: __exec_argv_t
enums: []
objects:
- object_name: environ
object_type: char **
- object_name: optarg
object_type: char *
- object_name: optind
object_type: int
- object_name: opterr
object_type: int
- object_name: optopt
object_type: int
functions:
- name: access
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: int
- name: chdir
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: close
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: dup
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: dup2
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: dup3
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- type: int
- name: execve
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: __exec_argv_t
- type: __exec_envp_t
- name: fchdir
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: fsync
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: ftruncate
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: off_t
- name: getcwd
standards:
- POSIX
return_type: char *
arguments:
- type: char *
- type: size_t
- name: geteuid
standards:
- POSIX
return_type: uid_t
arguments: []
- name: getpid
standards:
- POSIX
return_type: int
arguments: []
- name: getppid
standards:
- POSIX
return_type: int
arguments: []
- name: getuid
standards:
- POSIX
return_type: uid_t
arguments: []
- name: isatty
standards:
- POSIX
return_type: int
arguments:
- type: int
guard: null
attributes: []
- name: link
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: const char *
- name: linkat
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const char *
- type: int
- type: const char *
- type: int
- name: lseek
standards:
- POSIX
return_type: off_t
arguments:
- type: int
- type: off_t
- type: int
- name: pipe
standards:
- POSIX
return_type: int
arguments:
- type: int *
- name: pread
standards:
- POSIX
return_type: ssize_t
arguments:
- type: int
- type: void *
- type: size_t
- type: off_t
- name: pwrite
standards:
- POSIX
return_type: ssize_t
arguments:
- type: int
- type: const void *
- type: size_t
- type: off_t
- name: read
standards:
- POSIX
return_type: ssize_t
arguments:
- type: int
- type: void *
- type: size_t
- name: readlink
standards:
- POSIX
return_type: ssize_t
arguments:
- type: const char * __restrict
- type: char * __restrict
- type: size_t
- name: readlinkat
standards:
- POSIX
return_type: ssize_t
arguments:
- type: const char * __restrict
- type: char * __restrict
- type: size_t
- name: rmdir
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: symlink
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: const char *
- name: symlinkat
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const char *
- type: int
- type: const char *
- name: sysconf
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: truncate
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: off_t
- name: unlink
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- name: unlinkat
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const char *
- type: int
- name: write
standards:
- POSIX
return_type: ssize_t
arguments:
- type: int
- type: const void *
- type: size_t
guard: null
attributes: []
- name: _exit
standards:
- POSIX
return_type: _Noreturn void
arguments:
- type: int
- name: execv
standards:
- POSIX
return_type: int
arguments:
- type: const char *
- type: __exec_argv_t
- name: fork
standards:
- POSIX
return_type: pid_t
arguments: []
- name: __llvm_libc_syscall
standards:
- POSIX
return_type: long
arguments:
- type: long
- type: long
- type: long
- type: long
- type: long
- type: long
- type: long
- name: getopt
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: __getoptargv_t
- type: const char *
- name: swab
standards:
- POSIX
return_type: void
arguments:
- type: const void * __restrict
- type: void *
- type: ssize_t
- name: enivron
standards:
- POSIX
return_type: extern char **
arguments: []
- name: optarg
standards:
- POSIX
return_type: extern char *
arguments: []
- name: optind
standards:
- POSIX
return_type: extern int
arguments: []
- name: optopt
standards:
- POSIX
return_type: extern int
arguments: []
- name: opterr
standards:
- POSIX
return_type: extern int
arguments: []
15 changes: 15 additions & 0 deletions libc/newhdrgen/yaml/wchar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
header: wchar.h
macros: []
types:
- type_name: size_t
- type_name: wint_t
- type_name: wchar_t
enums: []
objects: []
functions:
- name: wctob
standards:
- stdc
return_type: int
arguments:
- type: wint_t