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

123456

/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/include/
H A Dbinary-io.h22 define O_BINARY in <fcntl.h>, and the MSVC7 <stdio.h> doesn't
28 #if !defined O_BINARY && defined _O_BINARY
30 # define O_BINARY _O_BINARY macro
34 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
35 # undef O_BINARY macro
38 #if O_BINARY
51 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
53 # define SET_BINARY(fd) setmode (fd, O_BINARY)
57 # undef O_BINARY macro
58 # define O_BINARY macro
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/include/
H A Dbinary-io.h22 define O_BINARY in <fcntl.h>, and the MSVC7 <stdio.h> doesn't
28 #if !defined O_BINARY && defined _O_BINARY
30 # define O_BINARY _O_BINARY macro
34 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
35 # undef O_BINARY macro
38 #if O_BINARY
51 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
53 # define SET_BINARY(fd) setmode (fd, O_BINARY)
57 # undef O_BINARY macro
58 # define O_BINARY macro
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dbinary-io.h22 O_BINARY is usually declared in <fcntl.h>. */
29 #if !defined O_BINARY && defined _O_BINARY
31 # define O_BINARY _O_BINARY macro
35 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
36 # undef O_BINARY macro
39 #if O_BINARY
52 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
54 # define SET_BINARY(fd) setmode (fd, O_BINARY)
58 # undef O_BINARY macro
59 # define O_BINARY macro
[all...]
H A Dcopy-file.c63 src_fd = open (src_filename, O_RDONLY | O_BINARY);
70 dest_fd = open (dest_filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0600);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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)
/netbsd-6-1-5-RELEASE/external/mit/expat/dist/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);
/netbsd-6-1-5-RELEASE/gnu/dist/diffutils/lib/
H A Dsetmode.c60 return setmode (fd, mode ? O_BINARY : O_TEXT) != O_TEXT;
/netbsd-6-1-5-RELEASE/sys/external/bsd/acpica/dist/tools/acpibin/
H A Dacpibin.h61 /* O_BINARY is not always defined */
62 #ifndef O_BINARY
63 #define O_BINARY 0x0 macro
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/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);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/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);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/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);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/
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);
315 file = open (filename, O_RDONLY|O_BINARY, 0666);
398 if (bp > buffer && ((file = open (filename, O_WRONLY|O_TRUNC|O_BINARY, 0600)) != -1))
432 mode = overwrite ? O_RDWR|O_CREAT|O_TRUNC|O_BINARY
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/
H A Dsysdep.h110 #ifndef O_BINARY
111 #define O_BINARY 0 macro
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/lib/
H A Dsystem.h169 #ifndef O_BINARY
171 # define O_BINARY _O_BINARY macro
173 # define O_BINARY 0 macro
175 #endif /* O_BINARY */
196 #if O_BINARY
210 # else /* O_BINARY && !__DJGPP__ */
213 # endif /* O_BINARY && !__DJGPP__ */
216 # else /* O_BINARY && !__MSDOS__ */
220 # endif /* O_BINARY && !__MSDOS__ */
224 # else /* O_BINARY
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/include/
H A Dnonposix.h72 # define SET_BINARY(f) do {if (!isatty(f)) setmode(f,O_BINARY);} while(0)
76 # ifndef O_BINARY
78 # define O_BINARY (_O_BINARY) macro
194 #ifndef O_BINARY
195 # define O_BINARY 0 macro
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_open_filename.c50 #ifndef O_BINARY
51 #define O_BINARY 0 macro
96 flags = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY;
H A Darchive_read_open_filename.c53 #ifndef O_BINARY
54 #define O_BINARY 0 macro
103 setmode(0, O_BINARY);
106 fd = open(filename, O_RDONLY | O_BINARY);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drand.c47 #ifndef O_BINARY
48 #define O_BINARY 0 macro
281 fd = open(filename, O_RDONLY | O_BINARY, 0600);
314 fd = open(filename, O_WRONLY | O_CREAT | O_BINARY, 0600);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dcrypto-rand.c51 fd = open(seedfile, O_RDONLY | O_BINARY | O_CLOEXEC);
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_write_disk_failures.c51 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
H A Dtest_read_large.c79 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
81 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rc4/
H A Drc4.c149 setmode(fileno(in),O_BINARY); local
150 setmode(fileno(out),O_BINARY); local
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/engines/ccgost/
H A Dgostsum.c33 #ifndef O_BINARY
34 #define O_BINARY 0 macro
53 case 'b': open_mode |= O_BINARY; break;
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/
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);

Completed in 235 milliseconds

123456