DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

resetty(CURSES)


resetty -- save/restore terminal mode

Synopsis

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

int resetty(void);

int savetty(void);

Description

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

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

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(CURSES), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005