Searched refs:O_BINARY (Results 1 - 25 of 105) sorted by relevance

12345

/freebsd-10.0-release/contrib/binutils/binutils/
H A Dbin2c.c25 #if !defined O_BINARY && defined _O_BINARY
27 # define O_BINARY _O_BINARY macro
32 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
33 # undef O_BINARY macro
37 #if O_BINARY
43 do { if (!isatty (_f)) setmode (_f, O_BINARY); } while (0)
46 # define O_BINARY 0 macro
48 #endif /* O_BINARY */
H A Drename.c37 #ifndef O_BINARY
38 #define O_BINARY 0 macro
57 fromfd = open (from, O_RDONLY | O_BINARY);
61 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777);
/freebsd-10.0-release/contrib/expat/xmlwf/
H A Dreadfilemap.c33 #ifndef O_BINARY
35 #define O_BINARY _O_BINARY macro
37 #define O_BINARY 0 macro
54 fd = open(name, O_RDONLY|O_BINARY);
H A Dxmlfile.c40 #ifndef O_BINARY
42 #define O_BINARY _O_BINARY macro
44 #define O_BINARY 0 macro
160 fd = topen(filename, O_BINARY|O_RDONLY);
/freebsd-10.0-release/crypto/openssl/util/
H A Dcopy.pl54 sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
55 sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
/freebsd-10.0-release/contrib/binutils/libiberty/
H A Dmkstemps.c52 #ifndef O_BINARY
53 # define O_BINARY 0 macro
126 fd = open (pattern, O_BINARY|O_RDWR|O_CREAT|O_EXCL, 0600);
/freebsd-10.0-release/contrib/gcclibs/libiberty/
H A Dmkstemps.c52 #ifndef O_BINARY
53 # define O_BINARY 0 macro
126 fd = open (pattern, O_BINARY|O_RDWR|O_CREAT|O_EXCL, 0600);
/freebsd-10.0-release/contrib/libreadline/
H A Dhistfile.c78 on win 95/98/nt), we want to open files with O_BINARY mode so that there
80 mess around with O_BINARY at all, so we ensure that it's defined to 0. */
82 # ifndef O_BINARY
83 # define O_BINARY 0 macro
86 # undef O_BINARY macro
87 # define O_BINARY 0 macro
181 file = open (input, O_RDONLY|O_BINARY, 0666);
316 file = open (filename, O_RDONLY|O_BINARY, 0666);
399 if (bp > buffer && ((file = open (filename, O_WRONLY|O_TRUNC|O_BINARY, 0600)) != -1))
433 mode = overwrite ? O_RDWR|O_CREAT|O_TRUNC|O_BINARY
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DDataStream.cpp74 #ifdef O_BINARY
75 OpenFlags |= O_BINARY; // Open input file in binary mode on win32.
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Basic/
H A DFileSystemStatCache.cpp64 #ifdef O_BINARY
65 OpenFlags |= O_BINARY; // Open input file in binary mode on win32.
/freebsd-10.0-release/contrib/groff/src/include/
H A Dnonposix.h70 # define SET_BINARY(f) do {if (!isatty(f)) setmode(f,O_BINARY);} while(0)
74 # ifndef O_BINARY
76 # define O_BINARY (_O_BINARY) macro
192 #ifndef O_BINARY
193 # define O_BINARY 0 macro
/freebsd-10.0-release/contrib/texinfo/lib/
H A Dsystem.h167 #ifndef O_BINARY
169 # define O_BINARY _O_BINARY macro
171 # define O_BINARY 0 macro
173 #endif /* O_BINARY */
194 #if O_BINARY
208 # else /* O_BINARY && !__DJGPP__ */
211 # endif /* O_BINARY && !__DJGPP__ */
214 # else /* O_BINARY && !__MSDOS__ */
218 # endif /* O_BINARY && !__MSDOS__ */
222 # else /* O_BINARY
[all...]
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_failures.c44 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
H A Dtest_read_large.c80 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
82 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755);
H A Dtest_read_data_large.c98 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
100 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777);
/freebsd-10.0-release/contrib/ncurses/ncurses/tinfo/
H A Dsetbuf.c114 setmode(ofp, O_BINARY);
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Dcrypto-rand.c49 fd = open(seedfile, O_RDONLY | O_BINARY | O_CLOEXEC);
/freebsd-10.0-release/crypto/openssl/crypto/rc4/
H A Drc4.c149 setmode(fileno(in),O_BINARY); local
150 setmode(fileno(out),O_BINARY); local
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write_open_filename.c52 #ifndef O_BINARY
53 #define O_BINARY 0 macro
143 flags = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_CLOEXEC;
/freebsd-10.0-release/contrib/libpcap/tests/
H A Dfiltertest.c64 * On UNIX, that's not necessary. O_BINARY is defined on Windows;
67 #ifndef O_BINARY
68 #define O_BINARY 0 macro
78 fd = open(fname, O_RDONLY|O_BINARY);
/freebsd-10.0-release/crypto/openssl/crypto/rand/
H A Drandfile.c208 #ifndef O_BINARY
209 #define O_BINARY 0 macro
213 int fd = open(file, O_WRONLY|O_CREAT|O_BINARY, 0600);
/freebsd-10.0-release/crypto/openssl/engines/ccgost/
H A Dgostsum.c33 #ifndef O_BINARY
34 #define O_BINARY 0 macro
53 case 'b': open_mode |= O_BINARY; break;
/freebsd-10.0-release/gnu/usr.bin/grep/
H A Dsystem.h57 # undef O_BINARY /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ macro
62 # define SET_BINARY(fd) setmode (fd, O_BINARY)
64 # define SET_BINARY(fd) _setmode (fd, O_BINARY)
/freebsd-10.0-release/contrib/sendmail/libsm/
H A Dstdio.c93 #ifdef O_BINARY
95 oflags |= O_BINARY;
96 #endif /* O_BINARY */
433 #ifdef O_BINARY
435 oflags |= O_BINARY;
436 #endif /* O_BINARY */
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dbsd-cygwin_util.c51 return (open(filename, flags | O_BINARY, mode));

Completed in 291 milliseconds

12345