Searched refs:astconf (Results 1 - 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathbin.c41 if (!*(bin = astconf("PATH", NiL, NiL)) || !(bin = strdup(bin)))
H A Dpathshell.c44 * 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 Dpathcanon.c71 if (*(path + 1) == '/' && *astconf("PATH_LEADING_SLASHES", NiL, NiL) == '1')
H A Dpathexists.c66 cmp = strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'c') ? strcasecmp : strcmp;
H A Dpathkey.c129 if (k = astconf("UNIVERSE", NiL, NiL))
H A Dpathtemp.c230 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 Duname.c372 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 Ddirname.c91 if(last!=pathname && pathname[0]=='/' && pathname[1]=='/' && *astconf("PATH_LEADING_SLASHES",NiL,NiL)!='1')
H A Dgetconf.c159 if (*(native = astconf("GETCONF", NiL, NiL)) != '/')
292 s = astconf("PATH", NiL, NiL);
H A Dpathchk.c95 if ((r = strtol(astconf(ops[op], path, NiL), NiL, 0)) < 0 && !errno)
H A Ddate.c224 if (streq(astconf("UNIVERSE", NiL, NiL), "att"))
H A Dfds.c57 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
H A Dcat.c409 att = !strcmp(astconf("UNIVERSE", NiL, NiL), "att");
H A Drm.c175 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 Dfmtclock.c45 if (!(clk_tck = (unsigned int)strtoul(astconf("CLK_TCK", NiL, NiL), NiL, 10)))
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dbash.c340 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 Dargs.c420 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 Ddllscan.c103 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 Dcompletion.c351 if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0))
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dpoll_solaris.c238 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
H A Dulimit.c195 if(!tp->conf || !*(conf = astconf(tp->conf, NiL, NiL)))
H A Dmisc.c488 if(!astconf("UNIVERSE",0,arg))
493 if(!(arg=astconf("UNIVERSE",0,0)))
/illumos-gate/usr/src/lib/libast/common/include/
H A Dast.h237 extern char* astconf(const char*, const char*, const char*);
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dprocopen.c651 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 Dcmdarg.c87 if ((x = strtol(astconf("ARG_MAX", NiL, NiL), NiL, 0)) <= 0)

Completed in 65 milliseconds

12