diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index abdc8c2b8..87f89c76d 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -1438,6 +1438,10 @@ int get_terminal_width_height(int fd, unsigned *width, unsigned *height) FAST_FU | |||
| 1438 | int get_terminal_width(int fd) FAST_FUNC; | 1438 | int get_terminal_width(int fd) FAST_FUNC; |
| 1439 | 1439 | ||
| 1440 | int tcsetattr_stdin_TCSANOW(const struct termios *tp) FAST_FUNC; | 1440 | int tcsetattr_stdin_TCSANOW(const struct termios *tp) FAST_FUNC; |
| 1441 | #define TERMIOS_CLEAR_ISIG (1 << 0) | ||
| 1442 | #define TERMIOS_RAW_CRNL (1 << 1) | ||
| 1443 | #define TERMIOS_RAW_INPUT (1 << 2) | ||
| 1444 | int set_termios_to_raw(int fd, struct termios *oldterm, int flags) FAST_FUNC; | ||
| 1441 | 1445 | ||
| 1442 | /* NB: "unsigned request" is crucial! "int request" will break some arches! */ | 1446 | /* NB: "unsigned request" is crucial! "int request" will break some arches! */ |
| 1443 | int ioctl_or_perror(int fd, unsigned request, void *argp, const char *fmt,...) __attribute__ ((format (printf, 4, 5))) FAST_FUNC; | 1447 | int ioctl_or_perror(int fd, unsigned request, void *argp, const char *fmt,...) __attribute__ ((format (printf, 4, 5))) FAST_FUNC; |
