/ast/src/lib/libast/path/ |
H A D | pathbin.c | 41 if (!*(bin = astconf("PATH", NiL, NiL)) || !(bin = strdup(bin)))
|
H A D | pathshell.c | 44 * 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 D | pathexists.c | 66 cmp = strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'c') ? strcasecmp : strcmp;
|
H A D | pathkey.c | 154 if (k = astconf("UNIVERSE", NiL, NiL))
|
H A D | pathcanon.c | 85 if (*(path + 1) == '/' && *astconf("PATH_LEADING_SLASHES", NiL, NiL) == '1')
|
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_OK) && eaccess(d = TMP2, W_OK|X_OK))
|
/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 : "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 D | dirname.c | 91 if(last!=pathname && pathname[0]=='/' && pathname[1]=='/' && *astconf("PATH_LEADING_SLASHES",NiL,NiL)!='1')
|
H A D | getconf.c | 162 if (*(native = astconf("GETCONF", NiL, NiL)) != '/') 301 s = astconf("PATH", NiL, NiL);
|
H A D | pathchk.c | 95 if ((r = strtol(astconf(ops[op], path, NiL), NiL, 0)) < 0 && !errno)
|
H A D | date.c | 233 if (streq(astconf("UNIVERSE", NiL, NiL), "att"))
|
H A D | fds.c | 57 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0)
|
/ast/src/lib/libast/string/ |
H A D | fmtclock.c | 45 if (!(clk_tck = (unsigned int)strtoul(astconf("CLK_TCK", NiL, NiL), NiL, 10)))
|
/ast/src/lib/libtksh/src/ |
H A D | shcompat.c | 29 return (int)strtol(astconf("OPEN_MAX", NiL, NiL), NiL, 0);
|
/ast/src/cmd/3d/ |
H A D | ast.c | 31 #define astconf(a,b,c) conf macro
|
/ast/src/cmd/ksh93/sh/ |
H A D | bash.c | 339 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 D | args.c | 420 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 D | conformance.c | 53 if (*(m = astconf(conf[i], NiL, NiL)) && (h |= (1<<i)) || !i && (m = "ast"))
|
/ast/src/cmd/coshell/ |
H A D | cotest.c | 51 state.fdtotal = (int)strtol(astconf("OPEN_MAX", NiL, NiL), NiL, 0);
|
/ast/src/lib/libdll/ |
H A D | dllscan.c | 103 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 D | split.c | 278 flen = (int)strtol(astconf("NAME_MAX", fp->fname, NiL), NiL, 0); 286 flen = (int)strtol(astconf("NAME_MAX", ".", NiL), NiL, 0);
|
H A D | pss-procfs.c | 238 if (!(pss->hz = (int)strtol(astconf("CLK_TCK", NiL, NiL), NiL, 0)))
|
/ast/src/cmd/ksh93/bltins/ |
H A D | ulimit.c | 201 if(!tp->conf || !*(conf = astconf(tp->conf, NiL, NiL)))
|
H A D | misc.c | 489 if(!astconf("UNIVERSE",0,arg)) 494 if(!(arg=astconf("UNIVERSE",0,0)))
|
/ast/src/lib/libast/include/ |
H A D | ast.h | 249 extern char* astconf(const char*, const char*, const char*);
|