Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 251 – 275 of 874) sorted by relevance

1...<<11121314151617181920>>...35

/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfopen.c148 if ((accmode == O_RDONLY && (mode != 'r' || plus == '+')) || in _freopen_null()
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c72 if ((fd = open64(path, O_RDONLY)) >= 0 && in get_kernel_fd()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dalias.c98 fd = open(ap->devpaths->devpath, O_RDONLY|O_NDELAY); in alias_get_attributes()
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_prom.c76 prom_fd = open(PROMDEV, O_RDONLY); in prom_read_disabled_list()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h248 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c347 if ((procfd = open(pname, O_RDONLY)) < 0) in verifyupri()
360 if ((procfd = open(pname, O_RDONLY)) < 0 || in verifyupri()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_door.c94 if ((did = open(rendezvous, O_RDONLY, 0)) < 0) { in clnt_door_create()
471 if ((cu->cu_fd = open(rendezvous, O_RDONLY, 0)) < 0) { in _update_did()
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_main.c447 if ((fd = open(filepath, O_RDONLY | O_CREAT, access_mode)) == -1) { in vscand_init_file()
737 if ((vscand_kdrv_fd = open(devname, O_RDONLY)) < 0) { in vscand_kernel_bind()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Ddump_rcm.c393 if ((fd = open("/dev/dump", O_RDONLY)) == -1) { in dump_conf_alloc()
398 (fd = open("/dev/dump", O_RDONLY)) == -1) { in dump_conf_alloc()
/illumos-gate/usr/src/cmd/ctrun/
H A Dctrun.c510 efd = open64(CTFS_ROOT "/process/pbundle", O_RDONLY); in main()
565 O_RDONLY)) == -1) || in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetxby_door.c251 dp->doorfd = open64(NAME_SERVICE_DOOR, O_RDONLY, 0); in _nsc_initdoor_fp()
719 if ((fd = open(fname, O_RDONLY)) >= 0) { in _nsc_proc_is_cache()
H A Dgettxt.c175 if ((fd = open(pathname, O_RDONLY)) == -1 || in gettxt()
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_sv.c264 pvt->dbh = dbopen(_PATH_SERVICES_DB, O_RDONLY,O_RDONLY,DB_BTREE, NULL); in sv_rewind()
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c538 if ((fd = open("/dev/dump", O_RDONLY)) >= 0) { in delete()
583 if ((fd = open("/dev/dump", O_RDONLY)) >= 0) { in add()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dcrypt.c228 fd = open("/dev/urandom", O_RDONLY); in smb_get_urandom()
/illumos-gate/usr/src/cmd/bnu/
H A Dcpmv.c52 if ((fd1 = open(f1, O_RDONLY)) == -1)
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dutil.c143 fd = open(name, O_RDONLY); in lt_get_proc_field()
/illumos-gate/usr/src/cmd/rpcbind/
H A Dwarmstart.c126 fd = open(filename, O_RDONLY, 0600); in read_struct()
/illumos-gate/usr/src/cmd/acpihpd/
H A Dacpihpd.c153 (void) open("/dev/null", O_RDONLY); in daemon_init()
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c179 if ((fd = open(path, O_RDONLY, 0)) == -1) { in iscpio()
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_rfd.c254 O_RDONLY, 0); in rfd_reserve()
/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c194 if ((fd = open("/dev/urandom", O_RDONLY)) == -1) { in crypt_gensalt_impl()
/illumos-gate/usr/src/test/os-tests/tests/
H A Dodirectory.c46 int fd = open(path, flags | O_DIRECTORY | O_RDONLY, 0644); in odir_test_one()
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dtpcom.c225 if ((fd = open(elf_fname, O_RDONLY)) == -1) { in main()
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c199 err = ea_open(&ef, file, "SunOS", EO_TAIL, O_RDONLY, 0); in verify_exacct_file()

1...<<11121314151617181920>>...35