Files
llvm-project/libc/include/sys/select.yaml
Alexey Samsonov ae63230c23 [libc] Remove more header template files (#189066)
Get rid of several .h.def files which were used to ensure that the
macro definitions from llvm-libc-macro would be included in the public
header. Replace this logic with YAML instead - add entries to the
"macros" list that point to the correct "macro_header" to ensure it
would be included.

For C standard library headers, list several standard-define macros
to document their availability. For POSIX/Linux headers, only reference
a handful of macro, since more planning is needed to decide how to
represent platform-specific macro in YAML.
2026-03-27 16:06:39 -07:00

27 lines
551 B
YAML

header: sys/select.h
standards:
- posix
macros:
- macro_name: FD_SETSIZE
macro_header: sys-select-macros.h
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