/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathbin.c | 41 if (!*(bin = astconf("PATH", NiL, NiL)) || !(bin = strdup(bin)))
|
H A D | pathshell.c | 44 * astconf("SH",NiL,NiL) is returned by default 107 if (!*(sh = astconf("SH", NiL, NiL)) || *sh != '/' || eaccess(sh, X_OK) || !(sh = strdup(sh)))
|
H A D | pathcanon.c | 71 if (*(path + 1) == '/' && *astconf("PATH_LEADING_SLASHES", NiL, NiL) == '1')
|
H A D | pathexists.c | 66 cmp = strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'c') ? strcasecmp : strcmp;
|
H A D | pathkey.c | 129 if (k = astconf("UNIVERSE", NiL, NiL))
|
H A D | pathtemp.c | 230 if (!d && (!*(d = astconf("TMP", NiL, NiL)) || eaccess(d, W_OK|X_OK)) && eaccess(d = TMP1, W_OK|X_OK) && eaccess(d = TMP2, W_OK|X_OK))
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | uname.c | 372 sfprintf(sfstdout, "%s%c", *(t = astconf(buf, NiL, NiL)) ? t : *(t = astconf(buf+3, NiL, NiL)) ? t : "unknown", *argv ? ' ' : '\n'); 397 if (!*(s = astconf("ARCHITECTURE", NiL, NiL))) 403 if (!*(s = astconf("PLATFORM", NiL, NiL)) && !*(s = astconf("HW_NAME", NiL, NiL))) 415 s = astconf("OPERATING_SYSTEM", NiL, NiL); 426 s = astconf("RELEASE", NiL, NiL); 434 if (!*(s = astconf("HW_SERIAL", NiL, NiL))) 445 s = astconf("HW_PROVIDER", NiL, NiL); 450 if (!*(s = astconf("SRPC_DOMAI [all...] |
H A D | dirname.c | 91 if(last!=pathname && pathname[0]=='/' && pathname[1]=='/' && *astconf("PATH_LEADING_SLASHES",NiL,NiL)!='1')
|
H A D | getconf.c | 159 if (*(native = astconf("GETCONF", NiL, NiL)) != '/') 292 s = astconf("PATH", NiL, NiL);
|
H A D | pathchk.c | 95 if ((r = strtol(astconf(ops[op], path, NiL), NiL, 0)) < 0 && !errno)
|
H A D | date.c | 224 if (streq(astconf("UNIVERSE", NiL, NiL), "att"))
|
H A D | fds.c | 57 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
|
H A D | cat.c | 409 att = !strcmp(astconf("UNIVERSE", NiL, NiL), "att");
|
H A D | rm.c | 175 v = st.st_nlink <= 2 || st.st_ino == ent->fts_parent->fts_statp->st_ino && st.st_dev == ent->fts_parent->fts_statp->st_dev || strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'l');
|
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmtclock.c | 45 if (!(clk_tck = (unsigned int)strtoul(astconf("CLK_TCK", NiL, NiL), NiL, 10)))
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | bash.c | 340 if(strcmp(astconf("CONFORMANCE",0,0),"standard")==0) 342 if(strcmp(astconf("UNIVERSE",0,0),"att")==0) 346 if(strcmp(astconf("PATH_RESOLVE",0,0),"physical")==0)
|
H A D | args.c | 420 astconf("UNIVERSE", 0, "ucb"); 422 astconf("UNIVERSE", 0, "att"); 424 astconf("PATH_RESOLVE", 0, "metaphysical"); 426 astconf("PATH_RESOLVE", 0, "physical");
|
/illumos-gate/usr/src/lib/libdll/common/ |
H A D | dllscan.c | 103 if (*(s = astconf("LIBPATH", NiL, NiL))) 135 if (!*s || !p || !h && !*(h = astconf("HOSTTYPE", NiL, NiL))) 162 info.prefix = astconf("LIBPREFIX", NiL, NiL); 163 info.suffix = astconf("LIBSUFFIX", NiL, NiL);
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | completion.c | 351 if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0))
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | poll_solaris.c | 238 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
|
H A D | ulimit.c | 195 if(!tp->conf || !*(conf = astconf(tp->conf, NiL, NiL)))
|
H A D | misc.c | 488 if(!astconf("UNIVERSE",0,arg)) 493 if(!(arg=astconf("UNIVERSE",0,0)))
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | ast.h | 237 extern char* astconf(const char*, const char*, const char*);
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 651 if ((flags & PROC_PARANOID) && setenv("PATH", astconf("PATH", NiL, NiL), 1)) 709 strcpy(env + 2, (flags & PROC_PARANOID) ? astconf("SH", NiL, NiL) : pathshell());
|
H A D | cmdarg.c | 87 if ((x = strtol(astconf("ARG_MAX", NiL, NiL), NiL, 0)) <= 0)
|