Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 176 – 200 of 874) sorted by relevance

12345678910>>...35

/illumos-gate/usr/src/test/os-tests/tests/cores/secmapper/
H A Dsecmapper.c184 fd = open(sm->sm_obj, O_RDONLY); in secmap_alloc()
332 if ((fd = open(argv[1], O_RDONLY)) < 0) { in main()
/illumos-gate/usr/src/lib/mpss/common/
H A Dmpss.c114 int fd = open("/proc/self/auxv", O_RDONLY); in mygetexecname()
260 fd = open("/proc/self/psinfo", O_RDONLY); in argmatch()
/illumos-gate/usr/src/cmd/varpd/
H A Dvarpd.c153 fd = open(VARPD_RUNDIR, O_RDONLY); in varpd_dir_setup()
175 dupfd = open(_PATH_DEVNULL, O_RDONLY); in varpd_fd_setup()
/illumos-gate/usr/src/test/libc-tests/tests/select/
H A Dselect_test.c86 if ((null = open("/dev/null", O_RDONLY)) == -1) in main()
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dacquire-lock.c153 fd = open(path, rdonly ? O_RDONLY : O_WRONLY); in main()
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dfopen.c70 oflag = plus ? O_RDWR : O_RDONLY; in _endopen()
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h54 #define O_RDONLY 0 macro
/illumos-gate/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c67 if ((fd = open_daemon_lock(name, O_RDONLY)) == -1) { in _check_daemon_lock()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcplugin/
H A Dpsvcplugin.c174 fd = open(dev_pr_info[i].file, O_RDONLY); in psvc_psr_plugin_init()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_zpool.c93 if ((fd = open(slice, O_RDONLY)) > 0) { in inuse_zpool_common()
/illumos-gate/usr/src/cmd/emul64ioctl/
H A Demul64ioctl.c129 if ((fd = open(admin, O_RDONLY, 0444)) != -1) { in main()
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cpu_arch.c66 if ((fd = open("/dev/bl", O_RDONLY)) < 0) in cma_cpu_blacklist()
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_pacct.c47 if ((fd = open(name, O_RDONLY)) < 0) { in lc_pacct()
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dstreamio.c105 (void) Close (Open(md->file, O_RDONLY, 0)); in read3_2()
H A Dmconnect.c176 if ((fd = Open(Lp_Schedlock, O_RDONLY, 0666)) == -1) in checklock()
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dipft_ef.c57 efd = open(fname, O_RDONLY);
/illumos-gate/usr/src/test/os-tests/tests/ksensor/
H A Dksensor_basic.c59 fd = open(st->st_path, O_RDONLY); in ksensor_basic()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c707 prom_fd = prom_open(O_RDONLY); in get_boot_dev_var()
1338 prom_fd = prom_open(O_RDONLY); in devfs_dev_to_prom_names()
1444 if ((prom_fd = prom_open(O_RDONLY)) >= 0) { in devfs_path_to_drv()
1594 prom_fd = prom_open(O_RDONLY); in devfs_prom_to_dev_name()
1660 prom_fd = prom_open(O_RDONLY); in prom_dev_to_alias()
1737 prom_fd = prom_open(O_RDONLY); in prom_obp_vers()
2154 prom_fd = prom_open(O_RDONLY); in alias_to_prom_dev()
/illumos-gate/usr/src/cmd/mandoc/
H A Ddbm_map.c65 if ((ifd = open(fname, O_RDONLY)) == -1) in dbm_map()
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin.h190 #define O_RDONLY _O_RDONLY macro
/illumos-gate/usr/src/tools/ctf/ctfstrip/
H A Dctfstrip.c74 fd = open(filename, O_RDONLY); in check_file()
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dpcom.c185 if ((fd = open(elf_fname, O_RDONLY)) == -1) { in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/slpd/
H A Dslpd.c145 (void) open("/dev/null", O_RDONLY); in detachfromtty()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_cache_door.c108 if ((doorfd = open(LDAP_CACHE_DOOR, O_RDONLY, 0)) in __ns_ldap_trydoorcall_getfd()
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dmain.c178 if ((fd = open(argv[optind], O_RDONLY)) == -1) { in main()

12345678910>>...35