/freebsd-9.3-release/contrib/binutils/binutils/ |
H A D | bin2c.c | 25 #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 D | rename.c | 37 #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 D | strings.c | 73 #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 D | readfilemap.c | 33 #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 D | xmlfile.c | 40 #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 D | copy.pl | 54 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 D | mkstemps.c | 52 #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 D | mkstemps.c | 52 #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 D | histfile.c | 78 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 D | nonposix.h | 70 # 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 D | system.h | 167 #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 D | archive_write_open_filename.c | 50 #ifndef O_BINARY 51 #define O_BINARY 0 macro 96 flags = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY;
|
H A D | archive_read_open_filename.c | 53 #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 D | test_write_disk_failures.c | 51 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
|
H A D | test_read_large.c | 79 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); 81 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755);
|
H A D | test_read_data_large.c | 106 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 D | setbuf.c | 114 setmode(ofp, O_BINARY);
|
/freebsd-9.3-release/crypto/openssl/crypto/rc4/ |
H A D | rc4.c | 139 setmode(fileno(in), O_BINARY); local 140 setmode(fileno(out), O_BINARY); local
|
/freebsd-9.3-release/contrib/gnu-sort/src/ |
H A D | system.h | 187 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 D | filtertest.c | 64 * 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 D | system.h | 57 # 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 D | stdio.c | 93 #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 D | bsd-cygwin_util.c | 51 return (open(filename, flags | O_BINARY, mode));
|
/freebsd-9.3-release/usr.bin/bsdiff/bspatch/ |
H A D | bspatch.c | 50 #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 D | exec.c | 48 #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);
|