Searched refs:pwdnod (Results 1 – 2 of 2) sorted by relevance
61 Namval_t *opwdnod, *pwdnod; in b_cd() local86 pwdnod = (shp->subshell?sh_assignok(PWDNOD,1):PWDNOD); in b_cd()200 nv_putval(pwdnod,dir,NV_RDONLY); in b_cd()201 nv_onattr(pwdnod,NV_NOFREE|NV_EXPORT); in b_cd()202 shp->pwd = pwdnod->nvalue.cp; in b_cd()
692 Namval_t *pwdnod = sh_scoped(shp,PWDNOD); in sh_subshell() local698 if(nv_isattr(pwdnod,NV_NOFREE)) in sh_subshell()699 pwdnod->nvalue.cp = (const char*)sp->pwd; in sh_subshell()