summaryrefslogtreecommitdiff
path: root/userspace
diff options
context:
space:
mode:
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)