Files
llvm-project/libc/include/termios.yaml
Alexey Samsonov d03e8f4fac [libc] Remove yet another batch of header template files (#191067)
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.
2026-04-08 15:56:41 -07:00

90 lines
1.6 KiB
YAML

header: termios.h
standards:
- posix
macros:
- macro_name: NCCS
macro_header: termios-macros.h
types:
- type_name: tcflag_t
- type_name: struct_termios
- type_name: speed_t
- type_name: pid_t
- type_name: cc_t
enums: []
objects: []
functions:
- name: cfgetispeed
standards:
- POSIX
return_type: speed_t
arguments:
- type: const struct termios *
- name: cfgetospeed
standards:
- POSIX
return_type: speed_t
arguments:
- type: const struct termios *
- name: cfsetispeed
standards:
- POSIX
return_type: speed_t
arguments:
- type: struct termios *
- type: speed_t
- name: cfsetospeed
standards:
- POSIX
return_type: speed_t
arguments:
- type: struct termios *
- type: speed_t
- name: tcdrain
standards:
- POSIX
return_type: int
arguments:
- type: int
- name: tcflow
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcflush
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcgetattr
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct termios *
- name: tcgetsid
standards:
- POSIX
return_type: pid_t
arguments:
- type: int
- name: tcsendbreak
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- name: tcsetattr
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: int
- type: struct termios *