Searched refs:getconf (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_getconf.sh27 # 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 Dexit.sh43 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 Dpath.sh97 : $(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 Dbuiltins.sh35 builtin getconf
336 v=$(getconf LIBPATH)
485 getconf UNIVERSE - ucb
H A Dsubshell.sh34 bincat=$(PATH=$(getconf PATH) whence -p cat)
/illumos-gate/usr/src/cmd/getconf/
H A DMakefile27 PROG= getconf
28 XPG4PROG= getconf
29 XPG6PROG= getconf
32 OBJS= getconf.o
33 XPG4EXOBJS= $(X4)/getconf.o
34 XPG6EXOBJS= $(X6)/getconf.o
H A Dgetconf.c33 * 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 Dillumos.sh62 ncpu=$(builtin getconf ; getconf 'NPROCESSORS_ONLN')
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfds.c56 #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 Dypserv_resolv.c65 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 Dpoll_solaris.c237 #undef getconf macro
238 #define getconf(x) strtol(astconf(x,NiL,NiL),NiL,0) macro
/illumos-gate/usr/src/lib/libcmd/
H A DMakefile.com51 getconf.o \
/illumos-gate/usr/src/lib/libshell/common/data/
H A Dsolaris_cmdlist.h188 BINCMDLIST(getconf)
H A Dbuiltins.c131 CMDLIST(getconf)
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dmandelbrotset1.sh227 (( numcpus=$(getconf NPROCESSORS_ONLN || print "3") ))
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dinit.c104 #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 DMakefile178 getconf \
587 getconf \
/illumos-gate/usr/src/lib/libshell/misc/
H A Dbuildksh93.sh260 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 Dconfig.guess596 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 DMakefile144 getconf.1 \
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dconf.sh22 : 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

Completed in 94 milliseconds