Lines Matching defs:mark
169 setstackmark(struct stackmark *mark)
171 mark->stackp = stackp;
172 mark->stacknxt = stacknxt;
173 mark->stacknleft = stacknleft;
174 mark->sstrnleft = sstrnleft;
175 mark->marknext = markp;
176 markp = mark;
179 /* reset the stack mark, and remove it from the list of marks */
181 popstackmark(struct stackmark *mark)
184 markp = mark->marknext; /* delete mark from the list */
185 rststackmark(mark); /* and reset stack */
189 /* reset the shell stack to its state recorded in the stack mark */
191 rststackmark(struct stackmark *mark)
196 while (stackp != mark->stackp) {
202 stacknxt = mark->stacknxt;
203 stacknleft = mark->stacknleft;
204 sstrnleft = mark->sstrnleft;