/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | util.c | 467 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 470 #ifndef O_BINARY 471 #define O_BINARY 0 macro 481 fd = open(fname, O_RDONLY|O_BINARY);
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | tac.c | 463 tmp = fdopen (fd, (O_BINARY ? "w+b" : "w+")); 536 if (O_BINARY && ! isatty (STDIN_FILENO)) 541 fd = open (filename, O_RDONLY | O_BINARY); 652 if (O_BINARY && ! isatty (STDOUT_FILENO))
|
H A D | cksum.c | 196 if (O_BINARY && ! isatty (STDIN_FILENO)) 201 fp = fopen (file, (O_BINARY ? "rb" : "r"));
|
H A D | split.c | 208 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 544 if (O_BINARY && ! isatty (STDIN_FILENO))
|
H A D | head.c | 841 if (O_BINARY && ! isatty (STDIN_FILENO)) 846 fd = open (filename, O_RDONLY | O_BINARY); 1054 if (O_BINARY && ! isatty (STDOUT_FILENO))
|
H A D | wc.c | 494 if (O_BINARY && ! isatty (STDIN_FILENO)) 500 int fd = open (file, O_RDONLY | O_BINARY);
|
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/jasper/ |
H A D | jas_stream.h | 142 /* On most UNIX systems, we probably need to define O_BINARY ourselves. */ 143 #ifndef O_BINARY 144 #define O_BINARY 0 macro
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | remote-rdp.c | 795 #ifndef O_BINARY macro 796 #define O_BINARY 0 802 O_RDONLY + O_BINARY, /* "rb" */ 804 O_RDWR + O_BINARY, /* "r+b" */ 806 O_WRONLY + O_BINARY + O_CREAT + O_TRUNC, /* "wb" */ 808 O_RDWR + O_BINARY + O_CREAT + O_TRUNC, /* "w+b" */ 810 O_WRONLY + O_BINARY + O_APPEND + O_CREAT, /* "ab" */ 812 O_RDWR + O_BINARY + O_APPEND + O_CREAT /* "a+b" */
|
H A D | pa64solib.c | 59 #ifndef O_BINARY 60 #define O_BINARY 0 macro 161 O_RDONLY | O_BINARY, 0, &absolute_name);
|
H A D | source.c | 49 #ifndef O_BINARY 50 #define O_BINARY 0 macro 59 #define OPEN_MODE (O_RDONLY | O_BINARY) 680 mode |= O_BINARY;
|
/haiku-fatelf/src/bin/gzip/ |
H A D | gzip.c | 143 #ifndef O_BINARY 144 # define O_BINARY 0 /* creation mode for open() */ macro 312 #if O_BINARY 329 #if O_BINARY 561 #if O_BINARY 764 ifd = OPEN(ifname, ascii && !decompress ? O_RDONLY : O_RDONLY | O_BINARY, 866 int flags = O_WRONLY | O_CREAT | O_EXCL | O_BINARY; 869 flags &= ~O_BINARY; /* force ascii text mode */
|
/haiku-fatelf/src/bin/patch/ |
H A D | common.h | 303 #ifndef O_BINARY 304 #define O_BINARY _O_BINARY macro 317 XTERN int binary_transput; /* O_BINARY if binary i/o is desired */
|
/haiku-fatelf/src/bin/rcs/ |
H A D | conf.h | 76 #if defined(O_BINARY) && !(defined(__BEOS__) || defined(__HAIKU__)) 84 # define OPEN_O_BINARY O_BINARY
|
H A D | conf.heg | 76 #if defined (O_BINARY) && !(defined(__BEOS__) || defined(__HAIKU__)) 84 # define OPEN_O_BINARY O_BINARY
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | fcntl.c | 65 || (mode = setmode (oldfd, O_BINARY)) == -1)
|
/haiku-fatelf/src/bin/gdb/libiberty/ |
H A D | pex-win32.c | 170 if (_pipe (pdes, 256, O_BINARY) < 0)
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | coff-stgo32.c | 316 #ifdef O_BINARY 317 f = open (stub, O_RDONLY | O_BINARY);
|
/haiku-fatelf/src/bin/less/ |
H A D | defines.ds | 383 #define O_BINARY _O_BINARY
|
H A D | less.h | 233 #define OPEN_READ (O_RDONLY|O_BINARY) 263 #define SET_BINARY(f) setmode(f, O_BINARY)
|
/haiku-fatelf/src/bin/bash/lib/intl/ |
H A D | loadmsgcat.c | 479 O_BINARY is usually declared in <fcntl.h>. */ 480 #if !defined O_BINARY && defined _O_BINARY 482 # define O_BINARY _O_BINARY macro 486 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ 487 # undef O_BINARY macro 491 #ifndef O_BINARY 492 # define O_BINARY 0 macro 939 fd = open (domain_file->filename, O_RDONLY | O_BINARY);
|
/haiku-fatelf/src/bin/gawk/intl/ |
H A D | loadmsgcat.c | 477 O_BINARY is usually declared in <fcntl.h>. */ 478 #if !defined O_BINARY && defined _O_BINARY 480 # define O_BINARY _O_BINARY macro 484 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ 485 # undef O_BINARY macro 489 #ifndef O_BINARY 490 # define O_BINARY 0 macro 937 fd = open (domain_file->filename, O_RDONLY | O_BINARY);
|
/haiku-fatelf/src/bin/gawk/ |
H A D | main.c | 34 #ifndef O_BINARY 509 #ifdef O_BINARY 511 if (os_setbinmode(fileno(stdin), O_BINARY) == -1) 514 if (os_setbinmode(fileno(stdout), O_BINARY) == -1) 516 if (os_setbinmode(fileno(stderr), O_BINARY) == -1)
|
/haiku-fatelf/src/bin/unzip/ |
H A D | funzip.c | 370 setmode(0, O_BINARY); /* some buggy C libraries require BOTH setmode() */ 386 setmode(1, O_BINARY);
|
/haiku-fatelf/src/libs/zlib/ |
H A D | gzlib.c | 164 #ifdef O_BINARY 165 O_BINARY |
|
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/ |
H A D | jas_stream.c | 312 openflags |= O_BINARY; 368 openflags |= O_BINARY; 410 if ((*obj = open(filename, O_CREAT | O_EXCL | O_RDWR | O_TRUNC | O_BINARY, 459 setmode(fd, O_BINARY);
|