Home
last modified time | relevance | path

Searched refs:astconf (Results 1 – 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Duname.c372 …sfprintf(sfstdout, "%s%c", *(t = astconf(buf, NiL, NiL)) ? t : *(t = astconf(buf+3, NiL, NiL)) ? t… in b_uname()
397 if (!*(s = astconf("ARCHITECTURE", NiL, NiL))) in b_uname()
403 if (!*(s = astconf("PLATFORM", NiL, NiL)) && !*(s = astconf("HW_NAME", NiL, NiL))) in b_uname()
415 s = astconf("OPERATING_SYSTEM", NiL, NiL); in b_uname()
426 s = astconf("RELEASE", NiL, NiL); in b_uname()
434 if (!*(s = astconf("HW_SERIAL", NiL, NiL))) in b_uname()
445 s = astconf("HW_PROVIDER", NiL, NiL); in b_uname()
450 if (!*(s = astconf("SRPC_DOMAIN", NiL, NiL))) in b_uname()
461 s = astconf("MACHINE", NiL, NiL); in b_uname()
467 s = astconf("BASE", NiL, NiL); in b_uname()
H A Dgetconf.c162 if (*(native = astconf("GETCONF", NiL, NiL)) != '/') in b_getconf()
301 s = astconf("PATH", NiL, NiL); in b_getconf()
H A Ddirname.c91 …if(last!=pathname && pathname[0]=='/' && pathname[1]=='/' && *astconf("PATH_LEADING_SLASHES",NiL,N… in l_dirname()
H A Dpathchk.c95 if ((r = strtol(astconf(ops[op], path, NiL), NiL, 0)) < 0 && !errno) in mypathconf()
H A Dfds.c57 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
H A DRELEASE129 07-01-22 uname.c: fix -h typo that clobbered astconf() state -- ouch
134 06-11-11 getconf.c: let astconf() handle "undefined" vs. ""
152 06-09-19 pathchk.c: pathconf() => astconf()
219 03-05-31 uname.c: add -f and sysinfo()/confstr() compatibility via astconf()
H A Ddate.c233 if (streq(astconf("UNIVERSE", NiL, NiL), "att")) in settime()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dbash.c339 if(strcmp(astconf("CONFORMANCE",0,0),"standard")==0) in bash_init()
341 if(strcmp(astconf("UNIVERSE",0,0),"att")==0) in bash_init()
345 if(strcmp(astconf("PATH_RESOLVE",0,0),"physical")==0) in bash_init()
H A Dargs.c429 astconf("UNIVERSE", 0, "ucb"); in sh_applyopts()
431 astconf("UNIVERSE", 0, "att"); in sh_applyopts()
433 astconf("PATH_RESOLVE", 0, "metaphysical"); in sh_applyopts()
435 astconf("PATH_RESOLVE", 0, "physical"); in sh_applyopts()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathbin.c41 if (!*(bin = astconf("PATH", NiL, NiL)) || !(bin = strdup(bin))) in pathbin()
H A Dpathshell.c107 if (!*(sh = astconf("SH", NiL, NiL)) || *sh != '/' || eaccess(sh, X_OK) || !(sh = strdup(sh))) in pathshell()
H A Dpathexists.c66 cmp = strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'c') ? strcasecmp : strcmp; in pathexists()
H A Dpathcanon.c85 if (*(path + 1) == '/' && *astconf("PATH_LEADING_SLASHES", NiL, NiL) == '1') in pathcanon_20100601()
H A Dpathkey.c154 if (k = astconf("UNIVERSE", NiL, NiL)) in pathkey_20100601()
H A Dpathtemp.c230 …if (!d && (!*(d = astconf("TMP", NiL, NiL)) || eaccess(d, W_OK|X_OK)) && eaccess(d = TMP1, W_OK|X_… in pathtemp()
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddllscan.c103 if (*(s = astconf("LIBPATH", NiL, NiL))) in dllinfo()
135 if (!*s || !p || !h && !*(h = astconf("HOSTTYPE", NiL, NiL))) in dllinfo()
162 info.prefix = astconf("LIBPREFIX", NiL, NiL); in dllinfo()
163 info.suffix = astconf("LIBSUFFIX", NiL, NiL); in dllinfo()
H A DRELEASE50 98-01-11 update for astconf("LIBPATH")
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtclock.c45 if (!(clk_tck = (unsigned int)strtoul(astconf("CLK_TCK", NiL, NiL), NiL, 10))) in fmtclock()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE9 12-06-20 port/astconf.c: increase DEBUG_astconf error debug levels (may leach into rt output)
28 12-05-01 port/astconf.c: fix astconflist() to list standard minmax value if defined
111 10-12-01 astconf.c: fix look.standard undefined variable reference
116 10-11-30 port/astconf.c: eliminate esaccess() calls for OP_universe checks
143 10-08-11 misc/conformance.c: check ast_env_serial for dynamic astconf() changes
153 10-06-28 port/astconf.c: lone "CONFORMANCE = standard" => all defaults standard
206 10-01-20 port/astconf.c: "_AST_VERSION" now returns ast.version
245 09-06-30 port/astconf.c: standard PATH_RESOLVE is "physical" (not "metaphysical")
249 09-06-06 port/astconf.c: fix look->name null pointer reference
250 09-06-05 port/astconf.c: fix 'UNIVERSE = value' synthesize logic
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dconformance.c53 if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<<i)) || !i && (m = "ast")) in initconformance()
H A Dprocopen.c713 if ((flags & PROC_PARANOID) && setenv("PATH", astconf("PATH", NiL, NiL), 1)) in procopen()
771 strcpy(env + 2, (flags & PROC_PARANOID) ? astconf("SH", NiL, NiL) : pathshell()); in procopen()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dulimit.c201 if(!tp->conf || !*(conf = astconf(tp->conf, NiL, NiL))) in b_ulimit()
H A Dmisc.c489 if(!astconf("UNIVERSE",0,arg)) in b_universe()
494 if(!(arg=astconf("UNIVERSE",0,0))) in b_universe()
H A Dpoll_solaris.c238 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast.h249 extern char* astconf(const char*, const char*, const char*);

12