From 8a665b53229ce8f563b88bb33aa1ab3db4c1c096 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Mon, 25 May 2015 22:53:09 +0200 Subject: finally managed to port some simple ncurses test applications! --- userspace/sys/sys.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'userspace/sys') 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; } -- cgit v1.2.3