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

12345

/freebsd-11-stable/crypto/openssl/util/
H A Dcopy-if-different.pl53 sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
54 sysopen(OUT, $dfile, O_RDONLY|O_BINARY)
68 sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
69 sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
H A Dcopy.pl55 sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
56 sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
/freebsd-11-stable/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);
H A Dstrings.c73 #ifndef O_BINARY
75 #define O_BINARY _O_BINARY
78 #define O_BINARY 0
81 #if O_BINARY
83 #define SET_BINARY(f) do { if (!isatty (f)) setmode (f,O_BINARY); } while (0)
74 #define O_BINARY macro
77 #define O_BINARY macro
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dunix.h50 #define O_BINARY _O_BINARY macro
/freebsd-11-stable/contrib/expat/xmlwf/
H A Dreadfilemap.c68 #ifndef O_BINARY
70 # define O_BINARY _O_BINARY macro
72 # define O_BINARY 0 macro
89 fd = topen(name, O_RDONLY | O_BINARY);
H A Dxmlfile.c59 #ifndef O_BINARY
61 # define O_BINARY _O_BINARY macro
63 # define O_BINARY 0 macro
183 fd = topen(filename, O_BINARY | O_RDONLY);
/freebsd-11-stable/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);
H A Dpex-djgpp.c86 return open (name, O_RDONLY | (binary ? O_BINARY : O_TEXT));
99 | (binary ? O_BINARY : O_TEXT)),
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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);
H A Dtest_open_fd.c48 fd = open("test.tar", O_RDWR | O_CREAT | O_BINARY);
50 fd = open("test.tar", O_RDWR | O_CREAT | O_BINARY, 0777);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dcrypto-rand.c49 fd = open(seedfile, O_RDONLY | O_BINARY | O_CLOEXEC);
/freebsd-11-stable/crypto/openssl/crypto/rc4/
H A Drc4.c139 setmode(fileno(in), O_BINARY); local
140 setmode(fileno(out), O_BINARY); local
/freebsd-11-stable/crypto/openssl/engines/ccgost/
H A Dgostsum.c33 #ifndef O_BINARY
34 # define O_BINARY 0 macro
56 open_mode |= O_BINARY;
/freebsd-11-stable/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-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-cygwin_util.c51 return (open(filename, flags | O_BINARY, mode));
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dstdio.c93 #ifdef O_BINARY
95 oflags |= O_BINARY;
433 #ifdef O_BINARY
435 oflags |= O_BINARY;
/freebsd-11-stable/contrib/gdb/gdb/
H A Dexec.c48 #ifndef O_BINARY
49 #define O_BINARY 0 macro
198 write_files ? O_RDWR | O_BINARY : O_RDONLY | O_BINARY, 0,
206 O_RDWR | O_BINARY : O_RDONLY | O_BINARY, 0, &scratch_pathname);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c66 #ifndef O_BINARY
67 #define O_BINARY 0 macro
250 setmode(0, O_BINARY);
255 fd = open(filename, O_RDONLY | O_BINARY | O_CLOEXEC);
265 fd = _wopen(wfilename, O_RDONLY | O_BINARY);
270 fd = _wopen(fullpath, O_RDONLY | O_BINARY);

Completed in 170 milliseconds

12345