putwin
if (putwin(curscr, filep) == ERR)
extern int putwin(WINDOW *, FILE *);
code = putwin(curscr, fp);