Searched refs:isopen (Results 1 – 1 of 1) sorted by relevance
323 int isopen, wantfd; in freopen() local326 isopen = 0; in freopen()333 isopen = (fp->_close != nullptr); in freopen()334 if ((wantfd = fp->_file) < 0 && isopen) { in freopen()336 isopen = 0; in freopen()342 if (fd < 0 && isopen) { in freopen()346 isopen = 0; in freopen()356 if (isopen && fd != wantfd) (*fp->_close)(fp->_cookie); in freopen()