[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [PATCH 1/4] mini-os: Enable console to be configured as raw tty using termios



Add declaration of cfmakeraw as this is the simplest way of an
application setting a tty into raw mode.

Signed-off-by: Simon Waterman <watermansrdev@xxxxxxxxx>
---
 include/posix/termios.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/posix/termios.h b/include/posix/termios.h
index a57aee4..d39f111 100644
--- a/include/posix/termios.h
+++ b/include/posix/termios.h
@@ -83,5 +83,6 @@ struct termios {
 
 int tcsetattr(int fildes, int action, const struct termios *tios);
 int tcgetattr(int fildes, struct termios *tios);
+void cfmakeraw(struct termios *termios_p);
 
 #endif /* _POSIX_TERMIOS_H */
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.