summaryrefslogtreecommitdiff
path: root/userspace
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-12-08 17:39:24 +0100
committerMichal Idziorek <m.i@gmx.at>2014-12-08 17:39:24 +0100
commit6067b80c95ee1e027001e08b4cc899664f1ca436 (patch)
tree6ef262685924fff0e960aa0ae64df98963d54975 /userspace
parent3a3485c695e5d2dbfebbd572ba4f71c19197e5e1 (diff)
minor adaption for ncurses
Diffstat (limited to 'userspace')
-rw-r--r--userspace/sys/sys.c7
1 files changed, 5 insertions, 2 deletions
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)