X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Freset_cmd.h;h=f5426eb8d04b1539f58923c7812cba65ca42f9fa;hp=77f34a3bcc4a74354d3fa48d95b1d162a2dde7e9;hb=690589d8f19e38925db061296d4f704e4a965bb2;hpb=96592d717179f99c8fe1c5a63fc4a26c24867288 diff --git a/progs/reset_cmd.h b/progs/reset_cmd.h index 77f34a3b..f5426eb8 100644 --- a/progs/reset_cmd.h +++ b/progs/reset_cmd.h @@ -31,7 +31,7 @@ ****************************************************************************/ /* - * $Id: reset_cmd.h,v 1.5 2016/08/06 20:09:34 tom Exp $ + * $Id: reset_cmd.h,v 1.7 2016/12/24 18:08:48 tom Exp $ * * Utility functions for resetting terminal. */ @@ -46,19 +46,16 @@ #undef CTRL #define CTRL(x) ((x) & 0x1f) -extern bool send_init_strings(TTY * /* old_settings */); -extern int save_tty_settings(TTY * /* tty_settings */); +extern bool send_init_strings(int /* fd */, TTY * /* old_settings */); extern void print_tty_chars(TTY * /* old_settings */, TTY * /* new_settings */); extern void reset_flush(void); extern void reset_start(FILE * /* fp */, bool /* is_reset */, bool /* is_init */ ); -extern void reset_tty_settings(TTY * /* tty_settings */); -extern void restore_tty_settings(void); +extern void reset_tty_settings(int /* fd */, TTY * /* tty_settings */); extern void set_control_chars(TTY * /* tty_settings */, int /* erase */, int /* intr */, int /* kill */); extern void set_conversions(TTY * /* tty_settings */); -extern void update_tty_settings(TTY * /* old_settings */, TTY * /* new_settings */); #if HAVE_SIZECHANGE -extern void set_window_size(int /* fd */, int /* high */, int /* wide */); +extern void set_window_size(int /* fd */, short * /* high */, short * /* wide */); #endif extern const char *_nc_progname;