summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/libcsupport/include/sys/termios.h6
-rw-r--r--c/src/lib/include/sys/termios.h6
-rw-r--r--cpukit/libcsupport/include/sys/termios.h6
3 files changed, 15 insertions, 3 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
}
diff --git a/c/src/lib/include/sys/termios.h b/c/src/lib/include/sys/termios.h
index 7ecc44c128..1112ec4f5e 100644
--- a/c/src/lib/include/sys/termios.h
+++ b/c/src/lib/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
}
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
}