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

[Xen-changelog] [mini-os master] mini-os: add declaration of cfmakeraw



commit b79102880596058660b690b19afa7ccd5dbae261
Author:     Simon Waterman <watermansrdev@xxxxxxxxx>
AuthorDate: Sun Jun 25 23:02:09 2017 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Tue Jul 4 14:07:28 2017 +0100

    mini-os: add declaration of cfmakeraw
    
    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>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 include/posix/termios.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/posix/termios.h b/include/posix/termios.h
index a57aee4..c5803d5 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 *tios);
 
 #endif /* _POSIX_TERMIOS_H */
--
generated by git-patchbot for /home/xen/git/mini-os.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

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