These functions read and write data to and from files.
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.