summaryrefslogtreecommitdiff
path: root/drivers/pst.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pst.c')
-rw-r--r--drivers/pst.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/pst.c b/drivers/pst.c
deleted file mode 100644
index d063ec9..0000000
--- a/drivers/pst.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <drivers/pst.h>
-#include <fs/tmpfs.h>
-
-int openpty(int *amaster, int *aslave, char *name,
- /*const struct termios*/ void *termp,
- /*const struct winsize*/ void *winp) {
- (void)name;
- (void)termp;
- (void) winp;
- int fd[2];
- pipe(fd); // This depends upon that pipe will support read and write
- // through the same fd. In reality this should not be the
- // case.
- *amaster = fd[0];
- *aslave = fd[1];
- return 0;
-}