From e2476ed4d118048f8957a06b7447bf63e07498aa Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 22 May 1998 14:49:49 +0000 Subject: Added tcdrain(), cfgetospeed(), cfsetospeed(), cfgetispeed(), and cfsetispeed(). --- cpukit/libcsupport/include/sys/termios.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/libcsupport/include/sys/termios.h b/cpukit/libcsupport/include/sys/termios.h index 7ecc44c128..1112ec4f5e 100644 --- a/cpukit/libcsupport/include/sys/termios.h +++ b/cpukit/libcsupport/include/sys/termios.h @@ -173,9 +173,13 @@ struct termios { #define TCSADRAIN 1 #define TCSAFLUSH 2 -/* Currently we support only tcgetattr and tcsetattr */ int tcgetattr(int, struct termios *); int tcsetattr(int, int, struct termios *); +int tcdrain(int); +speed_t cfgetospeed(const struct termios *tp); +int cfsetospeed(struct termios *tp, speed_t speed); +speed_t cfgetispeed(const struct termios *tp); +int cfsetispeed(struct termios *tp, speed_t speed); #ifdef __cplusplus } -- cgit v1.2.3