Home
last modified time | relevance | path

Searched refs:O_BINARY (Results 1 – 25 of 108) sorted by relevance

12345

/openbsd/gnu/usr.bin/binutils-2.17/gprof/
H A Dgmon_io.h28 #ifndef O_BINARY
30 #define O_BINARY _O_BINARY macro
33 #define O_BINARY 0 macro
36 #if O_BINARY
38 #define SET_BINARY(f) do { if (!isatty(f)) setmode(f,O_BINARY); } while (0)
/openbsd/gnu/usr.bin/binutils/gprof/
H A Dgmon_io.h28 #ifndef O_BINARY
30 #define O_BINARY _O_BINARY macro
33 #define O_BINARY 0 macro
36 #if O_BINARY
38 #define SET_BINARY(f) do { if (!isatty(f)) setmode(f,O_BINARY); } while (0)
/openbsd/gnu/lib/libreadline/
H A Dhistfile.c77 # ifndef O_BINARY
78 # define O_BINARY 0 macro
81 # undef O_BINARY
82 # define O_BINARY 0 macro
159 file = open (input, O_RDONLY|O_BINARY, 0666);
268 file = open (filename, O_RDONLY|O_BINARY, 0666);
347 if (bp > buffer && ((file = open (filename, O_WRONLY|O_TRUNC|O_BINARY, 0600)) != -1))
383 mode = overwrite ? O_RDWR|O_CREAT|O_TRUNC|O_BINARY : O_RDWR|O_APPEND|O_BINARY;
385 mode = overwrite ? O_WRONLY|O_CREAT|O_TRUNC|O_BINARY : O_WRONLY|O_APPEND|O_BINARY;
/openbsd/gnu/usr.bin/texinfo/lib/
H A Dsystem.h160 #ifndef O_BINARY
162 # define O_BINARY _O_BINARY macro
164 # define O_BINARY 0 macro
187 #if O_BINARY
228 # define SET_BINARY(f) do {if (!isatty(f)) setmode(f,O_BINARY);} while(0)
/openbsd/gnu/usr.bin/binutils/binutils/
H A Drename.c36 #ifndef O_BINARY
37 #define O_BINARY 0 macro
55 fromfd = open (from, O_RDONLY | O_BINARY); in simple_copy()
59 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777); in simple_copy()
H A Dstrings.c74 #ifndef O_BINARY
76 #define O_BINARY _O_BINARY macro
79 #define O_BINARY 0 macro
82 #if O_BINARY
84 #define SET_BINARY(f) do { if (!isatty (f)) setmode (f,O_BINARY); } while (0)
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Drename.c36 #ifndef O_BINARY
37 #define O_BINARY 0 macro
56 fromfd = open (from, O_RDONLY | O_BINARY); in simple_copy()
60 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777); in simple_copy()
H A Dstrings.c75 #ifndef O_BINARY
77 #define O_BINARY _O_BINARY macro
80 #define O_BINARY 0 macro
83 #if O_BINARY
85 #define SET_BINARY(f) do { if (!isatty (f)) setmode (f,O_BINARY); } while (0)
/openbsd/gnu/usr.bin/gcc/gcc/intl/
H A Dloadmsgcat.c124 #if !defined O_BINARY && defined _O_BINARY
126 # define O_BINARY _O_BINARY macro
131 # undef O_BINARY
135 #ifndef O_BINARY
136 # define O_BINARY 0 macro
380 fd = open (domain_file->filename, O_RDONLY | O_BINARY);
/openbsd/gnu/usr.sbin/mkhybrid/src/
H A Deltorito.c37 #ifndef O_BINARY
38 #define O_BINARY 0 macro
106 bcat = open(bootpath, O_WRONLY | O_CREAT | O_BINARY, S_IROTH | S_IRGRP | S_IRWXU ); in FDECL1()
317 bootcat = open(de2->whole_name, O_RDWR | O_BINARY); in FDECL1()
H A Dapple.h27 #ifndef O_BINARY
28 #define O_BINARY 0 macro
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dexec.c44 #ifndef O_BINARY
45 #define O_BINARY 0 macro
194 write_files ? O_RDWR | O_BINARY : O_RDONLY | O_BINARY, 0, in exec_file_attach()
202 write_files ? O_RDWR | O_BINARY : O_RDONLY | O_BINARY, 0, in exec_file_attach()
H A Dremote-rdp.c794 #ifndef O_BINARY
795 #define O_BINARY 0 macro
801 O_RDONLY + O_BINARY, /* "rb" */
803 O_RDWR + O_BINARY, /* "r+b" */
805 O_WRONLY + O_BINARY + O_CREAT + O_TRUNC, /* "wb" */
807 O_RDWR + O_BINARY + O_CREAT + O_TRUNC, /* "w+b" */
809 O_WRONLY + O_BINARY + O_APPEND + O_CREAT, /* "ab" */
811 O_RDWR + O_BINARY + O_APPEND + O_CREAT /* "a+b" */
H A Dinflow.c483 #if defined (O_BINARY) in child_terminal_info()
484 if (flags & O_BINARY) in child_terminal_info()
486 flags &= ~O_BINARY; in child_terminal_info()
H A Dcorelow.c49 #ifndef O_BINARY
50 #define O_BINARY 0 macro
307 flags = O_BINARY | O_LARGEFILE; in core_open()
/openbsd/gnu/usr.bin/cvs/src/
H A Drun.c415 setmode (to_child_pipe[0], O_BINARY);
416 setmode (to_child_pipe[1], O_BINARY);
417 setmode (from_child_pipe[0], O_BINARY);
418 setmode (from_child_pipe[1], O_BINARY);
/openbsd/gnu/usr.bin/cvs/emx/
H A Dfilesubr.c55 if ((fdin = open (from, O_RDONLY | O_BINARY)) < 0)
59 if ((fdout = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY,
563 if ((fd1 = open (file1, O_RDONLY | O_BINARY)) < 0)
565 if ((fd2 = open (file2, O_RDONLY | O_BINARY)) < 0)
/openbsd/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingPort.h136 #ifndef O_BINARY
137 #define O_BINARY 0 macro
H A DGCDAProfiling.c305 fd = open(filename, O_RDWR | O_BINARY); in llvm_gcda_start_file()
309 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); in llvm_gcda_start_file()
315 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); in llvm_gcda_start_file()
321 fd = open(filename, O_RDWR | O_BINARY); in llvm_gcda_start_file()
/openbsd/gnu/gcc/gcc/
H A Dc-pch.c439 #ifndef O_BINARY
440 # define O_BINARY 0 macro
455 fd = open (name, O_RDONLY | O_BINARY, 0666); in c_common_pch_pragma()
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A Djcf-io.c41 #ifndef O_BINARY
42 #define O_BINARY 0 /* MS-DOS brain-damage */ macro
123 fd = open (zipfile, O_RDONLY | O_BINARY);
274 int fd = open (filename, O_RDONLY | O_BINARY);
557 fd = JCF_OPEN_EXACT_CASE (buffer, O_RDONLY | O_BINARY);
/openbsd/gnu/usr.bin/cvs/os2/
H A Dfilesubr.c49 if ((fdin = open (from, O_RDONLY | O_BINARY)) < 0)
53 if ((fdout = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY,
538 if ((fd1 = open (file1, O_RDONLY | O_BINARY)) < 0)
540 if ((fd2 = open (file2, O_RDONLY | O_BINARY)) < 0)
/openbsd/gnu/usr.bin/cvs/diff/
H A Dio.c102 int oldmode = setmode (current->desc, O_BINARY);
109 if (oldmode != O_BINARY)
681 setmode (filevec[0].desc, O_BINARY);
682 setmode (filevec[1].desc, O_BINARY);
/openbsd/gnu/usr.bin/cvs/windows-NT/
H A Dfilesubr.c53 if ((fdin = open (from, O_RDONLY | O_BINARY)) < 0)
57 if ((fdout = open (to, O_CREAT | O_TRUNC | O_RDWR | O_BINARY,
605 if ((fd1 = open (file1, O_RDONLY | O_BINARY)) < 0)
607 if ((fd2 = open (file2, O_RDONLY | O_BINARY)) < 0)
/openbsd/gnu/usr.bin/perl/ext/Fcntl/t/
H A Dautoload.t9 foreach my $symbol (qw(SEEK_SET O_BINARY S_ENFMT)) {

12345