The .yaml files should live next to the corresponding .h.def files in libc/include/, rather than next to the implementation of the tool in libc/utils/hdrgen/. As with the .h.def files, there is no need for a yaml/ subdirectory under include/. This simpler layout is more natural for maintenance and also simplifies build integration outside the LLVM CMake build.
23 lines
468 B
YAML
23 lines
468 B
YAML
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
|