Lines Matching refs:ufd
175 p->ufd = stderr; in f_init()
185 p->ufd = stdin; in f_init()
190 p->ufd = stdout; in f_init()
215 loc = ftell(x->ufd);
216 if(freopen(x->ufnm, f__r_mode[x->ufmt], x->ufd) == NULL)
223 (void) fseek(x->ufd, loc, SEEK_SET);
241 if(!(f__cf = x->ufd =
242 freopen(x->ufnm, f__w_mode[x->ufmt], x->ufd)))
250 loc = ftell(x->ufd);
252 if(!(f__cf = x->ufd =
253 freopen(x->ufnm, f__w_mode[x->ufmt + 2], x->ufd)))
255 if(fclose(x->ufd) < 0
258 || (f__cf = x->ufd = fdopen(k, f__w_mode[x->ufmt])) == NULL)
261 x->ufd = NULL;
266 (void) fseek(x->ufd, loc, SEEK_SET);