/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | uname.c | 372 …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 D | getconf.c | 162 if (*(native = astconf("GETCONF", NiL, NiL)) != '/') in b_getconf() 301 s = astconf("PATH", NiL, NiL); in b_getconf()
|
H A D | dirname.c | 91 …if(last!=pathname && pathname[0]=='/' && pathname[1]=='/' && *astconf("PATH_LEADING_SLASHES",NiL,N… in l_dirname()
|
H A D | pathchk.c | 95 if ((r = strtol(astconf(ops[op], path, NiL), NiL, 0)) < 0 && !errno) in mypathconf()
|
H A D | fds.c | 57 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
|
H A D | RELEASE | 129 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 D | date.c | 233 if (streq(astconf("UNIVERSE", NiL, NiL), "att")) in settime()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | bash.c | 339 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 D | args.c | 429 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 D | pathbin.c | 41 if (!*(bin = astconf("PATH", NiL, NiL)) || !(bin = strdup(bin))) in pathbin()
|
H A D | pathshell.c | 107 if (!*(sh = astconf("SH", NiL, NiL)) || *sh != '/' || eaccess(sh, X_OK) || !(sh = strdup(sh))) in pathshell()
|
H A D | pathexists.c | 66 cmp = strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'c') ? strcasecmp : strcmp; in pathexists()
|
H A D | pathcanon.c | 85 if (*(path + 1) == '/' && *astconf("PATH_LEADING_SLASHES", NiL, NiL) == '1') in pathcanon_20100601()
|
H A D | pathkey.c | 154 if (k = astconf("UNIVERSE", NiL, NiL)) in pathkey_20100601()
|
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_… in pathtemp()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/ |
H A D | dllscan.c | 103 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 D | RELEASE | 50 98-01-11 update for astconf("LIBPATH")
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | fmtclock.c | 45 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 D | RELEASE | 9 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 D | conformance.c | 53 if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<<i)) || !i && (m = "ast")) in initconformance()
|
H A D | procopen.c | 713 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 D | ulimit.c | 201 if(!tp->conf || !*(conf = astconf(tp->conf, NiL, NiL))) in b_ulimit()
|
H A D | misc.c | 489 if(!astconf("UNIVERSE",0,arg)) in b_universe() 494 if(!(arg=astconf("UNIVERSE",0,0))) in b_universe()
|
H A D | poll_solaris.c | 238 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | ast.h | 249 extern char* astconf(const char*, const char*, const char*);
|