HP 3000 Manuals

scr_dump, scr_restore [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

scr_dump, scr_restore 

The scr_dump and scr_restore routines are used to write the screen
contents to and from a file.

Syntax 

     #include <curses.h>

     int scr_dump(char *filename);
     int scr_restore(char *filename);

Parameters 

filename              A pointer to the file in which screen contents are
                      written.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The scr_dump() routine writes the contents of the virtual screen, curscr,
to filename.  The scr_restore() routine writes the contents of filename 
(which must have been written with scr_dump()) to curscr.  The next call
to doupdate() restores the screen to the way it looks in filename.

Implementation Considerations 

UNIX System V implementation

See Also 

wrefresh()

Portability 

UNIX System V



MPE/iX 5.0 Documentation