Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c12 #ifndef O_BINARY
13 #define O_BINARY 0 macro
31 fd = open(pathname, open_flag | O_BINARY, 0600); in krb5_create_secure_file()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A D_sfopen.c78 { if ((oflags &= (O_TEXT|O_BINARY|O_APPEND)) != 0 )
81 ctl = (ctl & ~(O_TEXT|O_BINARY|O_APPEND)) | oflags;
169 oflags |= O_BINARY;
217 if(!(oflags&(O_BINARY|O_TEXT)))
218 oflags |= O_BINARY;
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c95 #ifdef O_BINARY
97 oflags |= O_BINARY;
435 #ifdef O_BINARY
437 oflags |= O_BINARY;
/illumos-gate/usr/src/cmd/sunpc/other/
H A Ddos2unix.c214 setmode(fileno(in_stream), O_BINARY); in main()
215 setmode(fileno(out_stream), O_BINARY); in main()
463 setmode(fileno(in_stream), O_BINARY); in main()
464 setmode(fileno(out_stream), O_BINARY); in main()
H A Dunix2dos.c217 setmode(fileno(in_stream), O_BINARY); in main()
218 setmode(fileno(out_stream), O_BINARY); in main()
467 setmode(fileno(in_stream), O_BINARY); in main()
468 setmode(fileno(out_stream), O_BINARY); in main()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_object_detector.c58 #ifndef O_BINARY
59 #define O_BINARY 0 macro
563 fd = open(outpath,O_RDONLY|O_BINARY); in dwarf_object_detector_path()
566 fd = open(path,O_RDONLY|O_BINARY); in dwarf_object_detector_path()
570 fd = open(path,O_RDONLY|O_BINARY); in dwarf_object_detector_path()
H A Ddwarf_generic_init.c61 #ifndef O_BINARY
62 #define O_BINARY 0 macro
109 fd = elf_open(name, O_RDONLY | O_BINARY); in open_a_file()
111 fd = open(name, O_RDONLY | O_BINARY); in open_a_file()
H A Ddwarf_debuglink.c63 #ifndef O_BINARY
64 #define O_BINARY 0 macro
181 fd = open(f,O_RDONLY|O_BINARY);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c73 if (fname != NULL && (rfd = open(fname, flags | O_BINARY, mode)) < 0)
90 O_RDWR | O_BINARY, S_IRUSR | S_IWUSR, &btopeninfo, dflags);
92 dbp = __bt_open(NULL, O_RDWR | O_BINARY, S_IRUSR | S_IWUSR, NULL, dflags);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c37 #ifndef O_BINARY
38 #define O_BINARY 0 macro
100 O_BINARY, 0600); in krb5_rc_io_creat()
118 O_EXCL | O_BINARY, 0600)) == -1) in krb5_rc_io_creat()
221 if ((d->fd = THREEPARAMOPEN(d->fn, O_RDWR|O_BINARY, 0600)) == -1) { in krb5_rc_io_open_internal()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h302 #ifndef O_BINARY
303 #define O_BINARY 0 /* Needed for Win32 compiles */ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Domitted15 if ((fd = _open(from, O_RDONLY|O_BINARY)) < 0)
17 if (_fstat(fd, &fs) || (td = _open(to, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, fs.st_mode & 0777)) < 0)
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c104 #ifndef O_BINARY
105 # define O_BINARY 0 macro
150 O_BINARY|O_WRONLY|O_APPEND|O_CREAT,S_IRUSR|S_IWUSR))>=0 && in acctinit()
266 if((fd=open(cp,O_BINARY|O_APPEND|O_RDWR|O_CREAT,histmode))>=0) in sh_histinit()
297 fd = open(fname,O_BINARY|O_APPEND|O_CREAT|O_RDWR,S_IRUSR|S_IWUSR); in sh_histinit()
386 if((fd=sh_open(buff,O_BINARY|O_WRONLY|O_APPEND|O_CREAT,S_IRUSR|S_IWUSR))>=0 && fd < 10) in sh_histinit()
1199 if((newfd=open(hp->histname,O_BINARY|O_APPEND|O_CREAT|O_RDWR,S_IRUSR|S_IWUSR)) >= 0) in hist_exceptf()
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin64.h176 #define O_BINARY _O_BINARY macro
H A Dacwin.h191 #define O_BINARY _O_BINARY macro
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Ddbm.c83 if ((__cur_db = kdb2_dbm_open(file, O_RDWR|O_BINARY, 0)) != NULL)
85 if ((__cur_db = kdb2_dbm_open(file, O_RDONLY|O_BINARY, 0)) != NULL)
H A Dhsearch.c66 dbp = (DB *)__hash_open(NULL, O_CREAT | O_RDWR | O_BINARY, 0600, &info, 0);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c60 O_RDWR | O_SHLOCK | O_TRUNC | O_BINARY)
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c37 # ifndef O_BINARY
38 # define O_BINARY 0 macro
468 id->fd = open(zFilename, O_RDWR|O_CREAT|O_LARGEFILE|O_BINARY, 0644); in sqliteOsOpenReadWrite()
475 id->fd = open(zFilename, O_RDONLY|O_LARGEFILE|O_BINARY); in sqliteOsOpenReadWrite()
600 O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_LARGEFILE|O_BINARY, 0600); in sqliteOsOpenExclusive()
687 id->fd = open(zFilename, O_RDONLY|O_LARGEFILE|O_BINARY); in sqliteOsOpenReadOnly()
775 id->dirfd = open(zDirname, O_RDONLY|O_BINARY, 0644); in sqliteOsOpenDirectory()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_open.c73 flags |= O_BINARY | O_NOINHERIT;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c206 if ((t->bt_fd = open(fname, flags | O_BINARY, mode)) < 0)
434 setmode(fd, O_BINARY); in tmp()
/illumos-gate/usr/src/cmd/ldap/common/
H A Detest.c54 if (( sb.sb_sd = open( "lber-test", O_WRONLY|O_CREAT|O_TRUNC|O_BINARY )) in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtee.c113 register int oflag = O_WRONLY|O_TRUNC|O_CREAT|O_BINARY|O_cloexec; in b_tee()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dshiocmd_solaris.c440 #ifndef O_BINARY
512 #ifdef O_BINARY in b_open()
513 oflag |= O_BINARY; in b_open()
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dfcntl87 #define O_BINARY 0

12