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

12345678

/macosx-10.9.5/curl-78.94.1/curl/src/
H A Dtool_binmode.c40 #ifdef O_BINARY
42 _setmode(stream, O_BINARY);
44 setmode(fileno(stream), O_BINARY);
/macosx-10.9.5/libiconv-41/libiconv/srclib/
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
53 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
55 # define SET_BINARY(fd) setmode (fd, O_BINARY)
59 # undef O_BINARY macro
60 # define O_BINARY macro
[all...]
/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dfcntl_.h105 O_BINARY is usually declared in fcntl.h */
106 #if !defined O_BINARY && defined _O_BINARY
108 # define O_BINARY _O_BINARY macro
113 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
114 # undef O_BINARY macro
118 #ifndef O_BINARY
119 # define O_BINARY 0 macro
/macosx-10.9.5/expat-12/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);
/macosx-10.9.5/gnudiff-19/diffutils/lib/
H A Dsetmode.c58 return setmode (fd, mode ? O_BINARY : O_TEXT) != O_TEXT;
/macosx-10.9.5/tcl-102/tcl_ext/tclxml/tclxml/expat/xmlwf/
H A Dreadfilemap.c47 #ifndef O_BINARY
49 #define O_BINARY _O_BINARY macro
51 #define O_BINARY 0 macro
73 fd = open(name, O_RDONLY|O_BINARY);
/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/library/xml/TclExpat-1.1/
H A Dreadfilemap.c37 #ifndef O_BINARY
39 #define O_BINARY _O_BINARY macro
41 #define O_BINARY 0 macro
55 fd = open(name, O_RDONLY|O_BINARY);
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dfile-private.h55 * Some operating systems don't define O_BINARY, which is used by Microsoft
59 # ifndef O_BINARY
60 # define O_BINARY 0 macro
61 # endif /* !O_BINARY */
/macosx-10.9.5/cxxfilt-11/cxxfilt/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);
/macosx-10.9.5/emacs-92/emacs/lib-src/
H A Ddigest-doc.c30 #include <fcntl.h> /* for O_BINARY */
43 setmode (fileno (stdin), O_BINARY); local
H A Dhexl.c169 setmode (fileno (stdout), O_BINARY); local
172 _setmode (fileno (stdout), O_BINARY); local
218 setmode (fileno (fp), O_BINARY); local
221 _setmode (fileno (fp), O_BINARY);
/macosx-10.9.5/libiconv-41/libiconv/tests/
H A Dgengb18030z.c30 #if O_BINARY
H A Dgenutf8.c30 #if O_BINARY
/macosx-10.9.5/rsync-42/rsync/support/
H A Dsavetransfer.c61 if ((fd_file = open(*argv, O_WRONLY|O_TRUNC|O_CREAT|O_BINARY, 0644)) < 0) {
71 #if defined HAVE_SETMODE && O_BINARY
72 setmode(STDIN_FILENO, O_BINARY);
73 setmode(STDOUT_FILENO, O_BINARY);
/macosx-10.9.5/bash-92/bash-3.2/lib/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);
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...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/
H A DDataStream.cpp74 #ifdef O_BINARY
75 OpenFlags |= O_BINARY; // Open input file in binary mode on win32.
/macosx-10.9.5/groff-38/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
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/sfio/
H A D_sfopen.c77 if(f->file >= 0 && (oflags &= (O_TEXT|O_BINARY|O_APPEND)) != 0 )
80 ctl = (ctl & ~(O_TEXT|O_BINARY|O_APPEND)) | oflags;
162 oflags |= O_BINARY;
206 if(!(oflags&(O_BINARY|O_TEXT)))
207 oflags |= O_BINARY;
/macosx-10.9.5/libarchive-29/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);
/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/
H A Drand.c45 #ifndef O_BINARY
46 #define O_BINARY 0 macro
285 fd = open(filename, O_RDONLY | O_BINARY, 0600);
318 fd = open(filename, O_WRONLY | O_CREAT | O_BINARY, 0600);
/macosx-10.9.5/OpenSSH-186/osslshim/ossl/
H A Dossl-rand.c69 #ifndef O_BINARY
70 #define O_BINARY 0 macro
305 fd = open(filename, O_RDONLY | O_BINARY, 0600);
341 fd = open(filename, O_WRONLY | O_CREAT | O_BINARY, 0600);
/macosx-10.9.5/cxxfilt-11/cxxfilt/binutils/
H A Drename.c36 #ifndef O_BINARY
37 #define O_BINARY 0 macro
56 fromfd = open (from, O_RDONLY | O_BINARY);
60 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777);
/macosx-10.9.5/libarchive-29/libarchive/libarchive/test/
H A Dtest_write_disk_failures.c51 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
/macosx-10.9.5/ncurses-42/ncurses/ncurses/tinfo/
H A Dsetbuf.c114 setmode(ofp, O_BINARY);

Completed in 380 milliseconds

12345678