getwin(CURSES)
getwin --
dump window to, and reload window from a file
Synopsis
cc [options] file -lcurses
#include <curses.h>
WINDOW *getwin(FILE *filep);
int putwin(WINDOW *win, FILE *filep);
Description
The
getwin(CURSES)
function reads window-related data stored in the file by
putwin(CURSES).
The function then creates and initialises a new window using that data.
The
putwin(CURSES)
function writes all data associated with win into the
stdio stream to which filep points.
This information can be retrieved later using
getwin(CURSES).
Return value
Upon successful completion,
getwin(CURSES)
returns a pointer to the window it created. Otherwise, it returns a null
pointer.
Upon successful completion,
putwin(CURSES)
returns OK.
Otherwise, it returns ERR.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
scr_dump(CURSES),
curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005