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

12

/macosx-10.9.5/ksh-20/ksh/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))
/macosx-10.9.5/ksh-20/ksh/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.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.c233 if (streq(astconf("UNIVERSE", NiL, NiL), "att"))
H A Dfds.c57 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
H A Drm.c177 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');
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/string/
H A Dfmtclock.c45 if (!(clk_tck = (unsigned int)strtoul(astconf("CLK_TCK", NiL, NiL), NiL, 10)))
H A Dstrtoi.h259 conformance = !strcmp(astconf("CONFORMANCE", NiL, NiL), "standard");
/macosx-10.9.5/ksh-20/ksh/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");
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/
H A Dconformance.c53 if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<<i)) || !i && (m = "ast"))
H A Dcmdarg.c87 if ((x = strtol(astconf("ARG_MAX", NiL, NiL), NiL, 0)) <= 0)
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/edit/
H A Dcompletion.c362 if(saveout=astconf("PATH_ATTRIBUTES",saveout,(char*)0))
/macosx-10.9.5/ksh-20/ksh/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);
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/bltins/
H A Dulimit.c195 if(!tp->conf || !*(conf = astconf(tp->conf, NiL, NiL)))
H A Dmisc.c487 if(!astconf("UNIVERSE",0,arg))
492 if(!(arg=astconf("UNIVERSE",0,0)))
H A Dprint.c97 if(universe=astconf("UNIVERSE",0,0))
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/include/
H A Dast.h249 extern char* astconf(const char*, const char*, const char*);

Completed in 208 milliseconds

12