Home
last modified time | relevance | path

Searched refs:R_OK (Results 1 – 25 of 96) sorted by relevance

1234

/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dfindscripts.c119 if (access(path, R_OK) == 0) { in find_CAS()
127 if (access(path, R_OK) == 0) { in find_CAS()
151 if (access(path, R_OK) == 0) { in find_CAS()
166 if (access(path, R_OK) == 0) { in find_CAS()
174 if (access(path, R_OK) == 0) { in find_CAS()
/titanic_44/usr/src/cmd/picl/plugins/common/frutree/
H A Dpiclfrutree.c93 if (access(pname, R_OK) == 0) { in get_config_file()
102 if (access(pname, R_OK) == 0) { in get_config_file()
111 if (access(pname, R_OK) == 0) { in get_config_file()
/titanic_44/usr/src/lib/libast/common/comp/
H A Deaccess.c82 if (flags & R_OK)
94 if (flags & R_OK)
123 if (flags & R_OK)
/titanic_44/usr/src/uts/common/syscall/
H A Daccess.c56 #define R_OK 004 macro
71 if (fmode & ~(E_OK|R_OK|W_OK|X_OK)) in caccess()
74 mode = ((fmode & (R_OK|W_OK|X_OK)) << 6); in caccess()
/titanic_44/usr/src/lib/libnsl/dial/
H A Dsysfiles.c133 return (access(Systems[nsystems], R_OK)); in sysaccess()
135 return (access(Devices[ndevices], R_OK)); in sysaccess()
137 return (access(Dialers[ndialers], R_OK)); in sysaccess()
139 return (eaccess(Systems[nsystems], R_OK)); in sysaccess()
141 return (eaccess(Devices[ndevices], R_OK)); in sysaccess()
143 return (eaccess(Dialers[ndialers], R_OK)); in sysaccess()
409 if (eaccess(expandpath, R_OK) != 0) in setfile()
/titanic_44/usr/src/cmd/bnu/
H A Dsysfiles.c131 return(access(Systems[nsystems], R_OK));
133 return(access(Devices[ndevices], R_OK));
135 return(access(Dialers[ndialers], R_OK));
137 return(eaccess(Systems[nsystems], R_OK));
139 return(eaccess(Devices[ndevices], R_OK));
141 return(eaccess(Dialers[ndialers], R_OK));
383 if (eaccess(expandpath, R_OK) != 0)
/titanic_44/usr/src/cmd/devmgmt/cmds/
H A Dputdgrp.c268 if (access(p, R_OK) == 0) in main()
342 if (access(p, R_OK) == 0) in main()
387 if (access(p, R_OK) == 0) in main()
H A Dputdev.c317 if (access(p, R_OK) == 0) in main()
418 if (access(p, R_OK) == 0) in main()
513 if (access(p, R_OK) == 0) in main()
595 if (access(p, R_OK) == 0) in main()
/titanic_44/usr/src/cmd/lp/lib/lp/
H A Disterminfo.c201 if (errno == EMFILE && Access(path, R_OK) == 0)
219 ret = (Access(path, R_OK) == 0);
/titanic_44/usr/src/lib/abi/apptrace/common/
H A Dabienv.c145 if (access(name, R_OK)) { in appendlist()
318 if (access(buf, R_OK) != 0 && strncmp(buf, "/usr/", 5) != 0) in build_interceptor_path()
322 if (access(buf, R_OK) != 0 && strncmp(buf, "/usr/", 5) != 0) in build_interceptor_path()
/titanic_44/usr/src/cmd/nscd/
H A Dnscd_init.c161 if (access(cfgfile, R_OK) != 0) { in _nscd_init()
212 if (access(cfgfile, R_OK) != 0) { in _nscd_refresh()
/titanic_44/usr/src/cmd/localedef/
H A Dlocaledef.c137 rv = access(srcpath, R_OK); in copy_category()
142 rv = access(srcpath, R_OK); in copy_category()
/titanic_44/usr/src/cmd/setuname/
H A Dsetuname.c320 if (access("/dev/kmem", R_OK|W_OK) == 0) {
321 if (access(RC_DIRNAME, R_OK|W_OK) == 0) {
322 if ((access(RC_FILENAME, R_OK) != 0) &&
/titanic_44/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c599 if (access(pname, R_OK) == 0) { in env_parse_tunables()
674 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
683 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
692 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dfile.h79 #define R_OK 4 /* readable by caller */ macro
/titanic_44/usr/src/ucbhead/sys/
H A Dfile.h126 #define R_OK 4 /* readable by caller */ macro
/titanic_44/usr/src/cmd/lp/lib/printers/
H A Dokprinter.c132 return ((access(path, R_OK) < 0) ? 0 : 1); in canread()
/titanic_44/usr/src/ucbhead/
H A Dunistd.h51 #define R_OK 4 /* Test for Read permission */ macro
/titanic_44/usr/src/cmd/lp/model/netpr/
H A Dmisc.c51 if (access(filename, R_OK) < 0) in check_file()
/titanic_44/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_ecache.c112 if (access(dir, R_OK) != 0) in ecache_find_device()
/titanic_44/usr/src/lib/libbc/inc/include/
H A Dunistd.h102 #define R_OK 4 /* is it readable by caller */ macro
/titanic_44/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c816 if (access(pname, R_OK) == 0) { in env_parse_tunables()
895 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
904 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
913 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c816 if (access(pname, R_OK) == 0) { in env_parse_tunables()
891 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
900 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
909 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
/titanic_44/usr/src/lib/libc/port/gen/
H A Diconv.c248 if ((len <= MAXPATHLEN) && (access(ipath, R_OK) == 0)) { in iconv_open_all()
261 if ((len <= MAXPATHLEN) && (access(ipath, R_OK) == 0)) { in iconv_open_all()
/titanic_44/usr/src/cmd/svr4pkg/pkgremove/
H A Dspecial.c276 if (access(path, R_OK) != 0 || (fp = fopen(path, "r")) == NULL) { in get_special_contents()
552 if (access(cpath, F_OK | R_OK) != 0) { in special_contents_remove()

1234