summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-22 14:49:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-22 14:49:49 +0000
commite2476ed4d118048f8957a06b7447bf63e07498aa (patch)
treea571621f132d4fb41b9acad25b2baf9fd407be3e /c/src/exec/libcsupport/include
parentNow uses BSP specific configure variables and compiles for i486 and m68k. (diff)
downloadrtems-e2476ed4d118048f8957a06b7447bf63e07498aa.tar.bz2
Added tcdrain(), cfgetospeed(), cfsetospeed(), cfgetispeed(), and cfsetispeed().
Diffstat (limited to 'c/src/exec/libcsupport/include')
-rw-r--r--c/src/exec/libcsupport/include/sys/termios.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/exec/libcsupport/include/sys/termios.h b/c/src/exec/libcsupport/include/sys/termios.h
index 7ecc44c128..1112ec4f5e 100644
--- a/c/src/exec/libcsupport/include/sys/termios.h
+++ b/c/src/exec/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
}