DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

resetty(3curses)


resetty -- save/restore terminal mode

Synopsis

cc [options] file -lcurses
#include <curses.h>

int resetty(void);

int savetty(void);

Description

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

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

Return value

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

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

def_prog_mode(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004