The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

resetty, savetty - save/restore terminal mode

 SYNOPSIS



#include <curses.h>

int resetty(void);

int savetty(void);

 DESCRIPTION

The resetty() function restores the program mode as of the most recent call to savetty().

The savetty() function saves the state that would be put in place by a call to reset_prog_mode().

 RETURN VALUE

Upon successful completion, these functions return OK. Otherwise, they return ERR.

 ERRORS

No errors are defined.

 SEE ALSO

def_prog_mode(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]