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

1234

/freebsd-current/contrib/libpcap/testprogs/
H A Dunix.h50 #define O_BINARY _O_BINARY macro
H A Dvalgrindtest.c132 * On UNIX, that's not necessary. O_BINARY is defined on Windows;
135 #ifndef O_BINARY
136 #define O_BINARY 0 macro
146 fd = open(fname, O_RDONLY|O_BINARY);
H A Dfiltertest.c84 * On UNIX, that's not necessary. O_BINARY is defined on Windows;
87 #ifndef O_BINARY
88 #define O_BINARY 0 macro
98 fd = open(fname, O_RDONLY|O_BINARY);
/freebsd-current/crypto/openssl/util/
H A Dcopy.pl68 sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
69 sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
/freebsd-current/contrib/expat/xmlwf/
H A Dreadfilemap.c74 #ifndef O_BINARY
76 # define O_BINARY _O_BINARY macro
78 # define O_BINARY 0 macro
95 fd = topen(name, O_RDONLY | O_BINARY);
H A Dxmlfile.c66 #ifndef O_BINARY
68 # define O_BINARY _O_BINARY macro
70 # define O_BINARY 0 macro
186 fd = topen(filename, O_BINARY | O_RDONLY);
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dcrypto-rand.c49 fd = open(seedfile, O_RDONLY | O_BINARY | O_CLOEXEC);
H A Dkeytab_keyfile.c206 c->fd = open (d->filename, O_RDONLY | O_BINARY | O_CLOEXEC, 0600);
333 fd = open (d->filename, O_RDWR | O_BINARY | O_CLOEXEC);
336 O_RDWR | O_BINARY | O_CREAT | O_EXCL | O_CLOEXEC, 0600);
H A Dkrb5_locl.h208 #ifndef O_BINARY
209 #define O_BINARY 0 macro
/freebsd-current/contrib/libfido2/openbsd-compat/
H A Dposix_win.c30 flags |= O_BINARY | O_NOINHERIT;
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_failures.c43 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
H A Dtest_read_large.c77 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
79 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755);
H A Dtest_read_data_large.c95 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY);
97 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777);
H A Dtest_open_fd.c47 fd = open("test.tar", O_RDWR | O_CREAT | O_BINARY);
49 fd = open("test.tar", O_RDWR | O_CREAT | O_BINARY, 0777);
/freebsd-current/contrib/sendmail/libsm/
H A Dstdio.c93 #ifdef O_BINARY
95 oflags |= O_BINARY;
433 #ifdef O_BINARY
435 oflags |= O_BINARY;
/freebsd-current/usr.bin/bsdiff/bspatch/
H A Dbspatch.c47 #ifndef O_BINARY
48 #define O_BINARY 0 macro
135 if ((oldfd = open(argv[1], O_RDONLY | O_BINARY, 0)) < 0)
147 O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0666)) < 0)
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c65 #ifndef O_BINARY
66 #define O_BINARY 0 macro
280 setmode(0, O_BINARY);
285 fd = open(filename, O_RDONLY | O_BINARY | O_CLOEXEC);
295 fd = _wopen(wfilename, O_RDONLY | O_BINARY);
300 fd = _wopen(fullpath, O_RDONLY | O_BINARY);
H A Darchive_write_open_fd.c72 setmode(mine->fd, O_BINARY);
H A Darchive_write_open_filename.c51 #ifndef O_BINARY
52 #define O_BINARY 0 macro
143 flags = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_CLOEXEC;
/freebsd-current/contrib/llvm-project/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);
309 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644);
315 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644);
321 fd = open(filename, O_RDWR | O_BINARY);
/freebsd-current/crypto/openssl/crypto/rand/
H A Drandfile.c203 # ifndef O_BINARY
204 # define O_BINARY 0 macro
210 int fd = open(file, O_WRONLY | O_CREAT | O_BINARY, 0600);
/freebsd-current/sys/contrib/zstd/programs/
H A Dplatform.h165 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/freebsd-current/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c43 #ifndef O_BINARY
44 #define O_BINARY 0 macro
140 if(((fd=open(argv[1],O_RDONLY|O_BINARY,0))<0) ||
161 if(((fd=open(argv[2],O_RDONLY|O_BINARY,0))<0) ||
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dlib_raw.c92 _nc_setmode(O_BINARY);
148 _nc_setmode(O_BINARY);

Completed in 246 milliseconds

1234