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

12345

/freebsd-9.3-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);
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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-release/contrib/libarchive/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);
/freebsd-9.3-release/contrib/libarchive/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);
H A Dtest_read_data_large.c106 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
108 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777);
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/
H A Dsetbuf.c114 setmode(ofp, O_BINARY);
/freebsd-9.3-release/crypto/openssl/crypto/rc4/
H A Drc4.c139 setmode(fileno(in), O_BINARY); local
140 setmode(fileno(out), O_BINARY); local
/freebsd-9.3-release/contrib/gnu-sort/src/
H A Dsystem.h187 O_BINARY is usually declared in fcntl.h */
188 #if !defined O_BINARY && defined _O_BINARY
190 # define O_BINARY _O_BINARY macro
227 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
228 # undef O_BINARY macro
232 #if O_BINARY
238 # define SET_BINARY(_f) do {if (!isatty(_f)) setmode (_f, O_BINARY);} while (0)
243 setmode (_f1, O_BINARY); \
245 setmode (_f2, O_BINARY); \
252 # ifndef O_BINARY
253 # define O_BINARY macro
[all...]
/freebsd-9.3-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-9.3-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-9.3-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-9.3-release/crypto/openssh/openbsd-compat/
H A Dbsd-cygwin_util.c51 return (open(filename, flags | O_BINARY, mode));
/freebsd-9.3-release/usr.bin/bsdiff/bspatch/
H A Dbspatch.c50 #ifndef O_BINARY
51 #define O_BINARY 0 macro
119 if ((oldfd = open(argv[1], O_RDONLY | O_BINARY, 0)) < 0)
131 O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0666)) < 0)
/freebsd-9.3-release/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);

Completed in 398 milliseconds

12345