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

12

/ast/src/lib/libast/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 Dpathexists.c66 cmp = strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'c') ? strcasecmp : strcmp;
H A Dpathkey.c154 if (k = astconf("UNIVERSE", NiL, NiL))
H A Dpathcanon.c85 if (*(path + 1) == '/' && *astconf("PATH_LEADING_SLASHES", NiL, NiL) == '1')
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))
/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 : "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.c162 if (*(native = astconf("GETCONF", NiL, NiL)) != '/')
301 s = astconf("PATH", NiL, NiL);
H A Dpathchk.c95 if ((r = strtol(astconf(ops[op], path, NiL), NiL, 0)) < 0 && !errno)
H A Ddate.c233 if (streq(astconf("UNIVERSE", NiL, NiL), "att"))
H A Dfds.c57 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
/ast/src/lib/libast/string/
H A Dfmtclock.c45 if (!(clk_tck = (unsigned int)strtoul(astconf("CLK_TCK", NiL, NiL), NiL, 10)))
/ast/src/lib/libtksh/src/
H A Dshcompat.c29 return (int)strtol(astconf("OPEN_MAX", NiL, NiL), NiL, 0);
/ast/src/cmd/3d/
H A Dast.c31 #define astconf(a,b,c) conf macro
/ast/src/cmd/ksh93/sh/
H A Dbash.c339 if(strcmp(astconf("CONFORMANCE",0,0),"standard")==0)
341 if(strcmp(astconf("UNIVERSE",0,0),"att")==0)
345 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");
/ast/src/lib/libast/misc/
H A Dconformance.c53 if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<<i)) || !i && (m = "ast"))
/ast/src/cmd/coshell/
H A Dcotest.c51 state.fdtotal = (int)strtol(astconf("OPEN_MAX", NiL, NiL), NiL, 0);
/ast/src/lib/libdll/
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);
/ast/src/cmd/std/
H A Dsplit.c278 flen = (int)strtol(astconf("NAME_MAX", fp->fname, NiL), NiL, 0);
286 flen = (int)strtol(astconf("NAME_MAX", ".", NiL), NiL, 0);
H A Dpss-procfs.c238 if (!(pss->hz = (int)strtol(astconf("CLK_TCK", NiL, NiL), NiL, 0)))
/ast/src/cmd/ksh93/bltins/
H A Dulimit.c201 if(!tp->conf || !*(conf = astconf(tp->conf, NiL, NiL)))
H A Dmisc.c489 if(!astconf("UNIVERSE",0,arg))
494 if(!(arg=astconf("UNIVERSE",0,0)))
/ast/src/lib/libast/include/
H A Dast.h249 extern char* astconf(const char*, const char*, const char*);

Completed in 530 milliseconds

12