Home
last modified time | relevance | path

Searched refs:VUNSET (Results 1 – 6 of 6) sorted by relevance

/dports/shells/dash/dash-0.5.11.5/src/
H A Dvar.c87 { 0, VSTRFIXED|VTEXTFIXED|VUNSET, "ATTY\0", 0 },
90 { 0, VSTRFIXED|VTEXTFIXED|VUNSET, "MAIL\0", changemail },
91 { 0, VSTRFIXED|VTEXTFIXED|VUNSET, "MAILPATH\0", changemail },
101 { 0, VSTRFIXED|VTEXTFIXED|VUNSET, "TERM\0", 0 },
204 flags |= VUNSET; in setvar()
274 if (((flags & (VEXPORT|VREADONLY|VSTRFIXED|VUNSET)) | in setvareq()
275 (vp->flags & VSTRFIXED)) == VUNSET) { in setvareq()
284 flags |= vp->flags & ~(VTEXTFIXED|VSTACK|VNOSAVE|VUNSET); in setvareq()
288 if ((flags & (VEXPORT|VREADONLY|VSTRFIXED|VUNSET)) == VUNSET) in setvareq()
486 lvp->flags = VUNSET; in mklocal()
[all …]
H A Dvar.h49 #define VUNSET 0x20 /* the variable is not set */ macro
118 #define ifsset() ((vifs.flags & VUNSET) == 0)
133 #define attyset() ((vatty.flags & VUNSET) == 0)
135 #define mpathset() ((vmpath.flags & VUNSET) == 0)
145 #define environment() listvars(VEXPORT, VUNSET, 0)
H A Doptions.c380 return showvars(nullstr, 0, VUNSET); in setcmd()
/dports/devel/kBuild/kBuild-0.1.9998/src/kash/
H A Dvar.c139 { offsetof(shinstance, vatty), VSTRFIXED|VTEXTFIXED|VUNSET, "ATTY=",
148 { offsetof(shinstance, vmail), VSTRFIXED|VTEXTFIXED|VUNSET, "MAIL=",
237 psh->libpath_vars[i].flags |= VUNSET | VTEXTFIXED; in initvar()
331 flags |= VUNSET; in setvar()
390 vp->flags &= ~(VTEXTFIXED|VSTACK|VUNSET); in setvareq()
458 if (v == NULL || v->flags & VUNSET) in lookupvar()
642 if (vp->flags & VUNSET && !(show_value & 2)) in showvars()
661 if (!(vp->flags & VUNSET) && show_value) { in showvars()
755 lvp->flags = VUNSET; in mklocal()
788 } else if ((lvp->flags & (VUNSET|VSTRFIXED)) == VUNSET) { in poplocalvars()
[all …]
H A Dvar.h50 #define VUNSET 0x20 /* the variable is not set */ macro
106 #define ifsset(psh) (((psh)->vifs.flags & VUNSET) == 0)
124 #define attyset(psh) (((psh)->vatty.flags & VUNSET) == 0)
126 #define mpathset(psh) (((psh)->vmpath.flags & VUNSET) == 0)
/dports/sysutils/busybox/busybox-1.26.2/shell/
H A Dash.c1894 #define VUNSET 0x20 /* the variable is not set */ macro
2019 #define ifsset() ((vifs.flags & VUNSET) == 0)
2023 # define mpathset() ((vmpath.flags & VUNSET) == 0)
2145 if (!(v->flags & VUNSET)) in lookupvar()
2222 flags |= vp->flags & ~(VTEXTFIXED|VSTACK|VNOSAVE|VUNSET); in setvareq()
2258 flags |= VUNSET; in setvar()
2303 if (flags & VUNSET) in unsetvar()
7631 envp = listvars(VEXPORT, VUNSET, /*end:*/ NULL); in shellexec()
9066 } else if ((lvp->flags & (VUNSET|VSTRFIXED)) == VUNSET) { in poplocalvars()
9173 lvp->flags = VUNSET; in mklocal()
[all …]