Home | History | Annotate | Download | only in sh

Lines Matching refs:mark

168 setstackmark(struct stackmark *mark)
170 mark->stackp = stackp;
171 mark->stacknxt = stacknxt;
172 mark->stacknleft = stacknleft;
173 mark->sstrnleft = sstrnleft;
174 mark->marknext = markp;
175 markp = mark;
178 /* reset the stack mark, and remove it from the list of marks */
180 popstackmark(struct stackmark *mark)
183 markp = mark->marknext; /* delete mark from the list */
184 rststackmark(mark); /* and reset stack */
188 /* reset the shell stack to its state recorded in the stack mark */
190 rststackmark(struct stackmark *mark)
195 while (stackp != mark->stackp) {
201 stacknxt = mark->stacknxt;
202 stacknleft = mark->stacknleft;
203 sstrnleft = mark->sstrnleft;