diff options
author | Tom Rini <trini@konsulko.com> | 2015-06-05 11:21:08 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-05 11:21:08 -0400 |
commit | d85cd291331b07df57fd4ada84d2c7b9b76ac1b8 (patch) | |
tree | fa3033d1e3e2f3ae80a17ee89045948383da984c /include/os.h | |
parent | 5d3c2c542dd8878fece0ea96edde125635b492ff (diff) | |
parent | d9a607f2bd4315c9e370aa358ea9168d615a48fc (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/os.h')
-rw-r--r-- | include/os.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h index ffbdce8464..954a48c991 100644 --- a/include/os.h +++ b/include/os.h @@ -112,6 +112,14 @@ void os_exit(int exit_code) __attribute__((noreturn)); void os_tty_raw(int fd, bool allow_sigs); /** + * Restore the tty to its original mode + * + * Call this to restore the original terminal mode, after it has been changed + * by os_tty_raw(). This is an internal function. + */ +void os_fd_restore(void); + +/** * Acquires some memory from the underlying os. * * \param length Number of bytes to be allocated |