X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ftermios.h;h=d73c780d41a4270f1665658b6c4f7d62b792780a;hp=4c4656271b58f38f79e9c3cc7f1b43765aecad83;hb=43653c1250ad5eb5385d7e08292ad047420f8d25;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01 diff --git a/include/termios.h b/include/termios.h index 4c465627..d73c780d 100644 --- a/include/termios.h +++ b/include/termios.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + #define __NEED_pid_t #include @@ -32,6 +34,11 @@ int tcflow (int, int); pid_t tcgetsid (int); +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +void cfmakeraw(struct termios *); +int cfsetspeed(struct termios *, speed_t); +#endif + #ifdef __cplusplus } #endif