Lines Matching defs:wtmp
174 WINDOW *wtmp, *win;
189 wtmp = malloc(sizeof(WINDOW));
190 if (wtmp == NULL)
192 if (fread(wtmp, sizeof(WINDOW), 1, fp) != 1)
194 win = __newwin(_cursesi_screen, wtmp->maxy, wtmp->maxx,
195 wtmp->begy, wtmp->begx, FALSE, FALSE);
198 win->cury = wtmp->cury;
199 win->curx = wtmp->curx;
200 win->reqy = wtmp->reqy;
201 win->reqx = wtmp->reqx;
202 win->flags = wtmp->flags;
203 win->delay = wtmp->delay;
204 win->wattr = wtmp->wattr;
205 win->bch = wtmp->bch;
206 win->battr = wtmp->battr;
207 win->scr_t = wtmp->scr_t;
208 win->scr_b = wtmp->scr_b;
209 free(wtmp);
210 wtmp = NULL;
241 if (wtmp)
242 free(wtmp);