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.
34 lines
583 B
YAML
34 lines
583 B
YAML
header: sys-wait.h
|
|
macros: []
|
|
types:
|
|
- type_name: siginfo_t
|
|
- type_name: struct_rusage
|
|
- type_name: pid_t
|
|
enums: []
|
|
objects: []
|
|
functions:
|
|
- name: wait
|
|
standards:
|
|
- POSIX
|
|
return_type: pid_t
|
|
arguments:
|
|
- type: int *
|
|
- name: wait4
|
|
standards:
|
|
- BSDExtensions
|
|
- POSIX
|
|
return_type: pid_t
|
|
arguments:
|
|
- type: pid_t
|
|
- type: int *
|
|
- type: int
|
|
- type: struct rusage *
|
|
- name: waitpid
|
|
standards:
|
|
- POSIX
|
|
return_type: pid_t
|
|
arguments:
|
|
- type: pid_t
|
|
- type: int *
|
|
- type: int
|