summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-18 15:22:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-18 15:22:35 +0000
commit9a6994b490379074f546c395cb6d232cb1501348 (patch)
tree1e9a0c27d18cdbd202e0284d48a026807c6368c7 /c/src/lib/libc
parentCorrected so it returns the correct date. Previously was getting the number (diff)
downloadrtems-9a6994b490379074f546c395cb6d232cb1501348.tar.bz2
Added freebsd support from Dario Alcocer <alcocer@connectnet.com>.
Diffstat (limited to 'c/src/lib/libc')
-rw-r--r--c/src/lib/libc/termios.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/c/src/lib/libc/termios.c b/c/src/lib/libc/termios.c
index 648e2c0c3e..0857f0eae7 100644
--- a/c/src/lib/libc/termios.c
+++ b/c/src/lib/libc/termios.c
@@ -25,6 +25,20 @@
#include <unistd.h>
/*
+ * FreeBSD does not support a full POSIX termios so we have to help it out
+ */
+
+
+#if defined(__FreeBSD__)
+#define XTABS 0
+#define ONLRET 0
+#define ONOCR 0
+#define TABDLY 0
+#define OLCUC 0
+#define ILCUC 0
+#endif
+
+/*
* The size of the cooked buffer
*/
#define CBUFSIZE 256