Lines Matching refs:f
51 int f; in freopen() local
87 f = open(file, oflags, DEFFILEMODE); in freopen()
88 if (f < 0 && isopen) { in freopen()
93 f = open(file, oflags, DEFFILEMODE); in freopen()
103 if (isopen && f != wantfd) in freopen()
121 if (f < 0) { /* did not get it after all */ in freopen()
132 if (wantfd >= 0 && f != wantfd) { in freopen()
133 if (dup2(f, wantfd) >= 0) { in freopen()
134 (void) close(f); in freopen()
135 f = wantfd; in freopen()
140 fp->_file = f; in freopen()