Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions libc/include/dirent.h.def

This file was deleted.

18 changes: 8 additions & 10 deletions libc/include/dirent.yaml
Original file line number Diff line number Diff line change
@@ -1,47 +1,45 @@
header: dirent.h
header_template: dirent.h.def
macros: []
standards:
- posix
types:
- type_name: struct_dirent
- type_name: DIR
- type_name: ino_t
enums: []
objects: []
functions:
- name: alphasort
standards:
- POSIX
- posix
return_type: int
arguments:
- type: const struct dirent **
- type: const struct dirent **
- name: closedir
standards:
- POSIX
- posix
return_type: int
arguments:
- type: DIR *
- name: dirfd
standards:
- POSIX
- posix
return_type: int
arguments:
- type: DIR *
- name: fdopendir
standards:
- POSIX
- posix
return_type: DIR *
arguments:
- type: int
- name: opendir
standards:
- POSIX
- posix
return_type: DIR *
arguments:
- type: const char *
- name: readdir
standards:
- POSIX
- posix
return_type: struct dirent *
arguments:
- type: DIR *
18 changes: 0 additions & 18 deletions libc/include/search.h.def

This file was deleted.

24 changes: 12 additions & 12 deletions libc/include/search.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
header: search.h
header_template: search.h.def
macros: []
standards:
- posix
types:
- type_name: ACTION
- type_name: ENTRY
Expand All @@ -12,35 +12,35 @@ objects: []
functions:
- name: hcreate
standards:
- POSIX
- posix
return_type: int
arguments:
- type: size_t
- name: hcreate_r
standards: GNUExtensions
standards: gnu
return_type: int
arguments:
- type: size_t
- type: struct hsearch_data *
- name: hdestroy
standards: GNUExtensions
standards: gnu
return_type: void
arguments: []
- name: hdestroy_r
standards:
- POSIX
- posix
return_type: void
arguments:
- type: struct hsearch_data *
- name: hsearch
standards:
- POSIX
- posix
return_type: ENTRY *
arguments:
- type: ENTRY
- type: ACTION
- name: hsearch_r
standards: GNUExtensions
standards: gnu
return_type: int
arguments:
- type: ENTRY
Expand All @@ -49,20 +49,20 @@ functions:
- type: struct hsearch_data *
- name: insque
standards:
- POSIX
- posix
return_type: void
arguments:
- type: void *
- type: void *
- name: remque
standards:
- POSIX
- posix
return_type: void
arguments:
- type: void *
- name: lfind
standards:
- POSIX
- posix
return_type: void *
arguments:
- type: const void *
Expand All @@ -72,7 +72,7 @@ functions:
- type: __search_compare_t
- name: lsearch
standards:
- POSIX
- posix
return_type: void *
arguments:
- type: const void *
Expand Down
16 changes: 0 additions & 16 deletions libc/include/setjmp.h.def

This file was deleted.

10 changes: 4 additions & 6 deletions libc/include/setjmp.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
header: setjmp.h
header_template: setjmp.h.def
macros: []
standards:
- stdc
types:
- type_name: jmp_buf
enums: []
objects: []
functions:
- name: longjmp
standards:
Expand All @@ -23,7 +21,7 @@ functions:
- type: jmp_buf
- name: sigsetjmp
standards:
- POSIX
- posix
return_type: int
attributes:
- _Returns_twice
Expand All @@ -32,7 +30,7 @@ functions:
- type: int
- name: siglongjmp
standards:
- POSIX
- posix
return_type: _Noreturn void
arguments:
- type: sigjmp_buf
Expand Down
16 changes: 0 additions & 16 deletions libc/include/spawn.h.def

This file was deleted.

18 changes: 8 additions & 10 deletions libc/include/spawn.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
header: spawn.h
header_template: spawn.h.def
macros: []
standards:
- posix
types:
- type_name: posix_spawn_file_actions_t
- type_name: posix_spawnattr_t
- type_name: pid_t
- type_name: mode_t
enums: []
objects: []
functions:
- name: posix_spawn
standards:
- POSIX
- posix
return_type: int
arguments:
- type: pid_t *__restrict
Expand All @@ -22,22 +20,22 @@ functions:
- type: char * const * __restrict
- name: posix_spawn_file_actions_addclose
standards:
- POSIX
- posix
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
- type: int
- name: posix_spawn_file_actions_adddup2
standards:
- POSIX
- posix
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
- type: int
- type: int
- name: posix_spawn_file_actions_addopen
standards:
- POSIX
- posix
return_type: int
arguments:
- type: posix_spawn_file_actions_t *__restrict
Expand All @@ -47,13 +45,13 @@ functions:
- type: mode_t
- name: posix_spawn_file_actions_destroy
standards:
- POSIX
- posix
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
- name: posix_spawn_file_actions_init
standards:
- POSIX
- posix
return_type: int
arguments:
- type: posix_spawn_file_actions_t *
16 changes: 0 additions & 16 deletions libc/include/string.h.def

This file was deleted.

17 changes: 9 additions & 8 deletions libc/include/string.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
header: string.h
header_template: string.h.def
standards:
- stdc
macros:
- macro_name: NULL
macro_header: null-macro.h
Expand All @@ -11,7 +12,7 @@ objects: []
functions:
- name: memccpy
standards:
- POSIX
- posix
return_type: void *
arguments:
- type: void *__restrict
Expand Down Expand Up @@ -61,7 +62,7 @@ functions:
- type: size_t
- name: mempcpy
standards:
- POSIX
- posix
return_type: void *
arguments:
- type: void *__restrict
Expand Down Expand Up @@ -93,14 +94,14 @@ functions:
- type: size_t
- name: stpcpy
standards:
- POSIX
- posix
return_type: char *
arguments:
- type: char *__restrict
- type: const char *__restrict
- name: stpncpy
standards:
- POSIX
- posix
return_type: char *
arguments:
- type: char *__restrict
Expand Down Expand Up @@ -243,7 +244,7 @@ functions:
- type: size_t
- name: strnlen
standards:
- POSIX
- posix
return_type: size_t
arguments:
- type: const char *
Expand Down Expand Up @@ -271,7 +272,7 @@ functions:
- type: const char *__restrict
- name: strsignal
standards:
- POSIX
- posix
return_type: char *
arguments:
- type: int
Expand All @@ -298,7 +299,7 @@ functions:
- type: const char *__restrict
- name: strtok_r
standards:
- POSIX
- posix
return_type: char *
arguments:
- type: char *__restrict
Expand Down
Loading
Loading