]> xenbits.xensource.com Git - mini-os.git/commitdiff
mini-os: add declaration of cfmakeraw
authorSimon Waterman <watermansrdev@gmail.com>
Sun, 25 Jun 2017 22:02:09 +0000 (23:02 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 4 Jul 2017 13:07:28 +0000 (14:07 +0100)
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@gmail.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
include/posix/termios.h

index a57aee45567f4c57eae6b3080f533cc9140bcf85..c5803d5ad1718f62ac606f9bed6491d2f0d7988f 100644 (file)
@@ -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 *tios);
 
 #endif /* _POSIX_TERMIOS_H */