This follows up on ae63230c23 and remove
header templates from more C/POSIX standard headers, where templates
only used to `#include` files with macro definitions. We add this logic
to YAML instead - add entries to the `macros` list that point to the
correct `macro_header` to ensure it would be included.
38 lines
844 B
YAML
38 lines
844 B
YAML
header: poll.h
|
|
standards:
|
|
- posix
|
|
macros:
|
|
- macro_name: POLLIN
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLPRI
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLOUT
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLERR
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLHUP
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLNVAL
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLRDNORM
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLRDBAND
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLWRNORM
|
|
macro_header: poll-macros.h
|
|
- macro_name: POLLWRBAND
|
|
macro_header: poll-macros.h
|
|
types:
|
|
- type_name: struct_pollfd
|
|
- type_name: nfds_t
|
|
enums: []
|
|
functions:
|
|
- name: poll
|
|
standards:
|
|
- posix
|
|
return_type: int
|
|
arguments:
|
|
- type: struct pollfd *
|
|
- type: nfds_t
|
|
- type: int
|