HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
g
getwin(3X) getwin(3X)
(ENHANCED CURSES)
NAME
getwin, putwin — dump window to, and reload window from, a file
SYNOPSIS
#include <curses.h>
WINDOW *getwin(FILE *filep);
int putwin(WINDOW *win, FILE *filep);
DESCRIPTION
The getwin() function reads window-related data stored in the file by putwin(). The function then
creates and initialisesa new window using that data.
The putwin() function writes all data associated with win into the stdio stream to which filep points,
using an unspecified format. This information can be retrieved later using getwin().
RETURN VALUE
Upon successful completion, getwin() returns a pointer to the window it created. Otherwise, it returns
a null pointer.
Upon successful completion, putwin() returns OK. Otherwise, it returns ERR.
ERRORS
No errors are defined.
SEE ALSO
scr_dump(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Section 3−−372 − 1 − HP-UX Release 11i: December 2000
___
___