From 6067b80c95ee1e027001e08b4cc899664f1ca436 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Mon, 8 Dec 2014 17:39:24 +0100 Subject: minor adaption for ncurses --- userspace/sys/sys.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'userspace') diff --git a/userspace/sys/sys.c b/userspace/sys/sys.c index fa96ba4..25dff7b 100644 --- a/userspace/sys/sys.c +++ b/userspace/sys/sys.c @@ -117,10 +117,13 @@ int chdir (const char *pathname) return -1; } +// TODO; check if this is allright for not-real serial line!? +// http://www.chemie.fu-berlin.de/chemnet/use/info/libc/libc_12.html#SEC242 +// here they write something about padding may be affected? experiment. speed_t cfgetospeed(const struct termios *termios_p) { - printf("UNIMPL: cfgetospeed\n"); - return 1; +// printf("UNIMPL: cfgetospeed\n"); + return 9600; } char *ttyname(int fd) -- cgit v1.2.3