2023-08-18 11:55:57 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_TERMIOS_INTERNAL_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_CALLS_STRUCT_TERMIOS_INTERNAL_H_
|
|
|
|
#include "libc/calls/struct/termios.h"
|
|
|
|
#include "libc/mem/alloca.h"
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2024-08-25 01:10:22 +00:00
|
|
|
const char *_DescribeTermios(char[1024], ssize_t, const struct termios *);
|
2023-08-18 11:55:57 +00:00
|
|
|
|
2024-08-25 01:10:22 +00:00
|
|
|
#define DescribeTermios(rc, tio) _DescribeTermios(alloca(1024), rc, tio)
|
2023-08-18 11:55:57 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_TERMIOS_INTERNAL_H_ */
|