aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-10-22 18:43:26 +0000
committerBruce Evans <bde@FreeBSD.org>1995-10-22 18:43:26 +0000
commit3b4058284e78143c68fff294796b4d5bb53c7d6d (patch)
tree671298b2bcb84157dc274116758ff0bb338dc481
parentccbc94648a10321efdfd3022faf21378748edd55 (diff)
Notes
-rw-r--r--lib/libc/gen/termios.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/gen/termios.c b/lib/libc/gen/termios.c
index 3041987ee7df2..3625ae04cad97 100644
--- a/lib/libc/gen/termios.c
+++ b/lib/libc/gen/termios.c
@@ -36,15 +36,11 @@ static char sccsid[] = "@(#)termios.c 8.2 (Berkeley) 2/21/94";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
+#include <sys/fcntl.h>
#include <sys/ioctl.h>
-#include <sys/tty.h>
#include <sys/time.h>
-#define KERNEL /* XXX - FREAD and FWRITE ifdef'd KERNEL*/
-#include <sys/fcntl.h>
-#undef KERNEL
#include <errno.h>
-#include <stdio.h>
#include <termios.h>
#include <unistd.h>
@@ -99,6 +95,7 @@ tcsetpgrp(fd, pgrp)
pid_t
tcgetpgrp(fd)
+ int fd;
{
int s;
@@ -173,6 +170,7 @@ cfmakeraw(t)
t->c_cc[VTIME] = 0;
}
+int
tcsendbreak(fd, len)
int fd, len;
{
@@ -188,6 +186,7 @@ tcsendbreak(fd, len)
return (0);
}
+int
tcdrain(fd)
int fd;
{
@@ -195,6 +194,7 @@ tcdrain(fd)
return (ioctl(fd, TIOCDRAIN, 0));
}
+int
tcflush(fd, which)
int fd, which;
{
@@ -217,6 +217,7 @@ tcflush(fd, which)
return (ioctl(fd, TIOCFLUSH, &com));
}
+int
tcflow(fd, action)
int fd, action;
{