Home
last modified time | relevance | path

Searched refs:oldmode (Results 1 – 3 of 3) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dstdio.c42 int oldmode = 0; in __sread() local
44 oldmode = setmode (fp->_file, O_BINARY); in __sread()
50 if (oldmode) in __sread()
51 setmode (fp->_file, oldmode); in __sread()
85 int oldmode=0; in __swrite() local
94 oldmode = setmode (fp->_file, O_BINARY); in __swrite()
100 if (oldmode) in __swrite()
101 setmode (fp->_file, oldmode); in __swrite()
/picolibc-3.7.0-3.6.0/newlib/libc/stdio64/
Dstdio64.c61 int oldmode=0; in __swrite64() local
70 oldmode = setmode(fp->_file, O_BINARY); in __swrite64()
76 if (oldmode) in __swrite64()
77 setmode(fp->_file, oldmode); in __swrite64()
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-201520528 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's