Searched refs:accmode (Results 1 – 1 of 1) sorted by relevance
85 int oflag, nflag, fd, accmode; in _freopen_null() local147 accmode = oflag & O_ACCMODE; in _freopen_null()148 if ((accmode == O_RDONLY && (mode != 'r' || plus == '+')) || in _freopen_null()149 (accmode == O_WRONLY && (mode == 'r' || plus == '+'))) { in _freopen_null()