diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-18 12:22:24 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-18 12:22:24 -0400 |
commit | ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1 (patch) | |
tree | 28ef639c9b7db5e76820f114697b71dda08de201 /include/termios.h | |
parent | ed0e3a357e5a5aef394b0b94d13c3a5c078f67f2 (diff) | |
download | musl-ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1.zip musl-ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1.tar.gz musl-ba6a9e7734aaff8f4e7d49b888f9dd1954bc92b1.tar.bz2 |
legacy junk compatibility grab-bag
- add the rest of the junk traditionally in sys/param.h
- add prototypes for some nonstandard functions
- add _GNU_SOURCE to their source files so the compiler can check proto
Diffstat (limited to 'include/termios.h')
-rw-r--r-- | include/termios.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/termios.h b/include/termios.h index 4c46562..3ae853d 100644 --- a/include/termios.h +++ b/include/termios.h @@ -32,6 +32,11 @@ int tcflow (int, int); pid_t tcgetsid (int); +#ifdef _GNUS_SOURCE +void cfmakeraw(struct termios *); +int cfsetspeed(struct termios *, speed_t); +#endif + #ifdef __cplusplus } #endif |