summaryrefslogtreecommitdiff
path: root/userspace/sys/sys.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-25 22:53:09 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-25 22:53:09 +0200
commit8a665b53229ce8f563b88bb33aa1ab3db4c1c096 (patch)
treee813008300446b1925dc91e85713732fbd932bdd /userspace/sys/sys.c
parent1252a288665a7d07dcf5f0e468dc67b9440132d0 (diff)
finally managed to port some simple ncurses test applications!
Diffstat (limited to 'userspace/sys/sys.c')
-rw-r--r--userspace/sys/sys.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/userspace/sys/sys.c b/userspace/sys/sys.c
index 7639307..5cd4396 100644
--- a/userspace/sys/sys.c
+++ b/userspace/sys/sys.c
@@ -169,13 +169,21 @@ char *getlogin(void)
return NULL;
}
-int gtty()
+int ioctl(int fd, unsigned long request, ...)
{
+ printf("UNIMPL: ioctl\n");
return -1;
}
-int stty()
+int gtty(int fd, void *buf)
{
+ // printf("UNIMPL: gettty\n");
+ return -1;
+}
+
+int stty(int fd, void *buf)
+{
+ // printf("UNIMPL: settty\n");
return -1;
}