diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2014-08-16 20:34:16 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2014-08-16 20:35:17 -0700 |
commit | d0941ff83a870130575659a38af0edec3ee3bcb6 (patch) | |
tree | 6d19a1fcbef49b2255f790440b218fc6ca6364ac /tty.c | |
parent | d0788eb8cf0d8795fd1140086d998913e4707c1f (diff) |
tty_flush
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -78,3 +78,7 @@ void tty_printf(tty_t *tty, const char *fmt, ...){ va_end(args); } +void tty_flush(tty_t *tty){ + fflush(tty->fout); +} + |