Searched refs:O_RDONLY (Results 26 - 50 of 384) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libnsctl/common/
H A Dcache.c120 if ((mode & O_ACCMODE) != O_RDONLY) {
121 if ((i & O_ACCMODE) == O_RDONLY) {
183 if ((fd->sf_fmode & O_ACCMODE) == O_RDONLY)
257 if (ckdchk && (fd->sf_fmode & O_ACCMODE) != O_RDONLY) {
307 fd = open(_NSC_DEV_PATH, O_RDONLY);
H A Dmachdep.c67 if ((fd = open("/dev/ncall", O_RDONLY)) < 0) {
114 fd = open("/dev/ncall", O_RDONLY);
/osnet-11/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c73 if ((fd = open(DUID_FILE, O_RDONLY)) == -1 &&
74 (fd = open(OLD_DUID_FILE, O_RDONLY)) == -1)
201 if ((fd = open(IAID_FILE, O_RDONLY)) == -1)
271 if ((fd = open(IAID_FILE, O_RDONLY)) == -1 &&
272 (fd = open(OLD_IAID_FILE, O_RDONLY)) == -1)
/osnet-11/usr/src/lib/libcontract/common/
H A Dlibcontract_priv.c64 if ((cfd = open64(CTFS_ROOT "/process/latest", O_RDONLY)) == -1)
130 if ((fd = open("/proc/self/psinfo", O_RDONLY)) == -1)
193 O_RDONLY)) == -1) {
H A Ddevice_dump.c60 statfd = contract_open(ctid, "device", "status", O_RDONLY);
/osnet-11/usr/src/lib/efcode/efdaemon/
H A Defdaemon.c81 if ((fd = open(dev_fcode_file, O_RDONLY)) < 0) {
125 while ((fd = open(dev_fcode_file, O_RDONLY)) < 0) {
/osnet-11/usr/src/lib/libpri/common/
H A Dpri.c55 fd = open(DS_PRI_DRIVER, O_RDONLY);
/osnet-11/usr/src/lib/libmail/common/
H A Dxgetenv.c97 infd = open(xfile, O_RDONLY);
/osnet-11/usr/src/lib/libmtmalloc/tests/
H A Dexhaust.c57 fd = open("/dev/zero", O_RDONLY);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c29 if ((fd = open(src, O_RDONLY, 0)) == -1)
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c59 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-ndbm.h45 #define DBM_RDONLY O_RDONLY
/osnet-11/usr/src/cmd/hal/probing/acpi/
H A Dprobe-acpi.c57 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
/osnet-11/usr/src/lib/libc/port/gen/
H A D_xftw.c299 O_RDONLY | O_CLOEXEC)) < 0) {
306 O_RDONLY | O_CLOEXEC)) < 0) {
347 if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) {
355 if ((cfd = openat(fd, token, O_RDONLY)) < 0) {
H A Dgetauxv.c66 if ((fd = open("/proc/self/auxv", O_RDONLY)) != -1 &&
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_admin.c60 if ((meta_fd = open(ADMSPECIAL, O_RDONLY, 0)) < 0)
/osnet-11/usr/src/lib/sun_fc/common/
H A DSun_fcAdapterCreateWWN.cc41 int fd = open("/dev/urandom", O_RDONLY);
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgexecv.c352 n = open(filein, O_RDONLY);
362 n = open(filein, O_RDONLY);
/osnet-11/usr/src/lib/krb5/ss/
H A Dhelp.c67 if ((fd = open(&buffer[0], O_RDONLY)) >= 0) goto got_it;
69 if ((fd = open(&buffer[0], O_RDONLY)) < 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Fcntl/
H A DMakefile.PL48 O_NOTRANS O_RANDOM O_RAW O_RDONLY O_RDWR O_RSRC O_RSYNC
/osnet-11/usr/src/lib/libast/common/features/
H A Dfcntl.c252 #ifndef O_RDONLY
270 #ifndef O_RDONLY
271 printf("#define O_RDONLY 0\n");
303 printf("#define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)\n");
/osnet-11/usr/src/lib/libproc/common/
H A Dproc_arg.c66 if ((fd = open64(path, O_RDONLY)) >= 0) {
94 if ((fd = open64(arg, O_RDONLY)) >= 0) {
457 fd = open(pidstr, O_RDONLY);
474 fd = open(pidstr, O_RDONLY);
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c58 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) {
/osnet-11/usr/src/lib/efcode/fcdriver/
H A Dfcdebug.c85 cdp->fcode_fd = open("/dev/fcode", O_RDONLY);
/osnet-11/usr/src/grub/grub2/util/
H A Draid.c47 fd = open (name, O_RDONLY);

Completed in 98 milliseconds

1234567891011>>