Searched refs:SHLVL (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/data/
H A Dbash_pre_rc.sh36 integer SHLVL
37 export SHLVL
38 SHLVL+=1
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dvariables.h91 #define SHLVL (sh.bltin_nodes+61) macro
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dinit.c1145 *SHLVL->nvalue.ip +=1;
1403 if(!(SHLVL->nvalue.ip))
1406 SHLVL->nvalue.ip = &shlvl;
1407 nv_onattr(SHLVL,NV_INTEGER|NV_EXPORT|NV_NOFREE);
1409 *SHLVL->nvalue.ip +=1;
1548 SHLVL->nvalue.ip = &shlvl;
1752 if(np!=SHLVL && nv_isattr(np,NV_IMPORT|NV_EXPORT))
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dbasic.sh480 { env A__z=C+SHLVL $SHELL -c : ;} 2> /dev/null || err_exit "SHLVL with wrong attribute fails"

Completed in 1999 milliseconds