WINDOW
*
getwin(
FILE *fp
)
int
putwin(
WINDOW *win
, FILE *fp
)
The
getwin()
function reads window data that has been stored in the file to which
fp
points, and then creates a new window using that data.
The
putwin()
function writes window data from the window
win
to the file pointed to by
fp
.
)
function returns one of the following values:
OK
ERR
The
putwin()
function returns
NULL
if an error is detected.
fread
fwrite(3)
)
function, nor written by the
putwin(
)
function.