/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_getconf.sh | 27 # sun_solaris_getconf.sh - test the ksh93 getconf builtin for compatibility 28 # with /usr/bin/getconf 51 [[ ! -f "/bin/getconf" ]] && err_exit '/bin/getconf not found.' 52 [[ ! -x "/bin/getconf" ]] && err_exit '/bin/getconf not executable.' 68 # compare builtin getconf output with /usr/bin/getconf 72 /usr/bin/getconf -a | 77 a="\$(getconf "\ [all...] |
H A D | exit.sh | 43 builtin getconf 52 v=$(getconf LIBPATH) 78 $SHELL -c 'builtin -f cmd getconf; getconf --"?-version"; exit 0' >/dev/null 2>&1 || err_exit 'ksh plugin exit failed -- was ksh built with CCFLAGS+=$(CC.EXPORT.DYNAMIC)?'
|
H A D | path.sh | 97 : $(PATH=/usr/bin getconf PATH) 246 whence getconf > /dev/null && err_exit 'getconf should not be found' 247 builtin /bin/getconf 249 PATH=$(getconf PATH) 268 builtin getconf 269 getconf UNIVERSE - att # override sticky default 'UNIVERSE = foo'
|
H A D | builtins.sh | 35 builtin getconf 336 v=$(getconf LIBPATH) 485 getconf UNIVERSE - ucb
|
H A D | subshell.sh | 34 bincat=$(PATH=$(getconf PATH) whence -p cat)
|
/illumos-gate/usr/src/cmd/getconf/ |
H A D | Makefile | 27 PROG= getconf 28 XPG4PROG= getconf 29 XPG6PROG= getconf 32 OBJS= getconf.o 33 XPG4EXOBJS= $(X4)/getconf.o 34 XPG6EXOBJS= $(X6)/getconf.o
|
H A D | getconf.c | 33 * getconf -- POSIX.2 compatible utility to query configuration specific 56 #define INVAL_ARG "getconf: Invalid argument (%s)\n" 57 #define INVAL_PATHARG "getconf: Invalid argument (%s or %s)\n" 251 /* POSIX.2-1992 description of getconf utility */ 791 getconf(struct sctab *scp, int argc, char *name, char *file) function 965 stat = getconf(scp, scp->type == PATHCONF ? 3 : 2, 972 * printed in getconf(), 984 exstat = getconf(scp, argc, argv[1], argv[2]);
|
/illumos-gate/usr/src/tools/env/ |
H A D | illumos.sh | 62 ncpu=$(builtin getconf ; getconf 'NPROCESSORS_ONLN')
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | fds.c | 56 #undef getconf macro 57 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0) macro 213 if ((open_max = getconf("OPEN_MAX")) <= 0)
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv.c | 65 static int getconf(char *netid, void **handle, struct netconfig **nconf); 95 if (!getconf(tp, &h, &nc)) { /* dont forget endnetconfig() */ 265 static int getconf(char *netid, void **handle, struct netconfig **nconf) function
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | poll_solaris.c | 237 #undef getconf macro 238 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0) macro
|
/illumos-gate/usr/src/lib/libcmd/ |
H A D | Makefile.com | 51 getconf.o \
|
/illumos-gate/usr/src/lib/libshell/common/data/ |
H A D | solaris_cmdlist.h | 188 BINCMDLIST(getconf)
|
H A D | builtins.c | 131 CMDLIST(getconf)
|
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | mandelbrotset1.sh | 227 (( numcpus=$(getconf NPROCESSORS_ONLN || print "3") ))
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | init.c | 104 #undef getconf macro 105 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0) macro 1103 shp->lim.clk_tck = getconf("CLK_TCK"); 1104 shp->lim.arg_max = getconf("ARG_MAX"); 1105 shp->lim.open_max = getconf("OPEN_MAX"); 1106 shp->lim.child_max = getconf("CHILD_MAX"); 1107 shp->lim.ngroups_max = getconf("NGROUPS_MAX"); 1108 shp->lim.posix_version = getconf("VERSION"); 1109 shp->lim.posix_jobcontrol = getconf("JOB_CONTROL"); 1114 if((v = getconf("PID_MA [all...] |
/illumos-gate/usr/src/cmd/ |
H A D | Makefile | 178 getconf \ 587 getconf \
|
/illumos-gate/usr/src/lib/libshell/misc/ |
H A D | buildksh93.sh | 260 BINCMDLIST(getconf) 475 print "# testing getconf builtin..." 482 ${SHELL} -c '/usr/bin/getconf -a | 484 t="${i%:*}" ; a="$(getconf "$t" 2>/dev/null)" ; 485 b="$(/usr/bin/getconf "$t" 2>/dev/null)" ; [ "$a" != "$b" ] && print "# |$t|:|$a| != |$b|" ; 489 print "# testing getconf done." 532 testshell.builtin.getconf)
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | config.guess | 596 if [ -x /usr/bin/getconf ]; then 597 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` 598 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
/illumos-gate/usr/src/man/man1/ |
H A D | Makefile | 144 getconf.1 \
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | conf.sh | 22 : generate getconf and limits info 316 # check for native getconf(1) 321 do if test -x $d/getconf 322 then case `$d/getconf --?-version 2>&1` in 326 *) CONF_getconf=$d/getconf
|