Home
last modified time | relevance | path

Searched refs:O_BINARY (Results 1 – 14 of 14) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dmktemp.c180 #ifndef O_BINARY
181 #define O_BINARY 0 macro
192 return (_gettemp (template, suffixlen, &fd, O_BINARY) ? fd : -1); in mkstemps()
200 flags &= (O_APPEND | O_CLOEXEC | O_SYNC | O_BINARY | O_TEXT); in mkostemps()
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dtmpfile.c65 #ifndef O_BINARY
66 # define O_BINARY 0 macro
82 fd = open (f, O_RDWR | O_CREAT | O_EXCL | O_BINARY, in tmpfile()
Dmktemp.c260 #ifndef O_BINARY
261 # define O_BINARY 0 macro
270 return (_gettemp (path, &fd, 0, 0, O_BINARY) ? fd : -1); in mkstemp()
288 return (_gettemp (path, &fd, 0, len, O_BINARY) ? fd : -1); in mkstemps()
Dflags.c73 #ifdef O_BINARY in __sflags()
74 m |= O_BINARY; in __sflags()
Dfdopen.c110 if (oflags & O_BINARY) in fdopen()
111 setmode (fp->_file, O_BINARY); in fdopen()
Dstdio.c44 oldmode = setmode (fp->_file, O_BINARY); in __sread()
94 oldmode = setmode (fp->_file, O_BINARY); in __swrite()
Dfreopen.c167 && setmode (f, oflags & (O_BINARY | O_TEXT)) == -1) in freopen()
/picolibc-3.7.0-3.6.0/newlib/libc/stdio64/
Dtmpfile64.c65 #ifndef O_BINARY
66 # define O_BINARY 0 macro
84 fd = open64 (f, O_RDWR | O_CREAT | O_EXCL | O_BINARY, in tmpfile64()
Dfdopen64.c93 if (oflags & O_BINARY) in fdopen64()
94 setmode(fp->_file, O_BINARY); in fdopen64()
Dstdio64.c70 oldmode = setmode(fp->_file, O_BINARY); in __swrite64()
Dfreopen64.c169 && setmode (f, oflags & (O_BINARY | O_TEXT)) == -1) in freopen64()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/aarch64/sys/
Dfcntl.h10 #define O_BINARY _FBINARY macro
/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/
D_default_fcntl.h76 #define O_BINARY _FBINARY macro
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-20153569 * libc/stdio/flags.c (__sflags): Guard against using O_BINARY on
9133 sys/_default_fcntl.h and defines O_BINARY.
24370 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
24966 (_stat): Open the file in O_BINARY.