Lines Matching defs:gp
78 static char *nextdir(glob_t *gp, char *dir)
80 Pathcomp_t *pp = (Pathcomp_t*)gp->gl_handle;
85 gp->gl_handle = (void*)pp;
97 register glob_t *gp= &gdata;
104 memset(gp,0,sizeof(gdata));
126 gp->gl_nextdir = nextdir;
181 gp->gl_fignore = stakfreeze(1);
184 gp->gl_fignore = "";
188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD));
190 gp->gl_suffix = sufstr;
191 gp->gl_intr = &shp->trapnote;
195 glob(pattern, flags, 0, gp);
203 for(ap= (struct argnod*)gp->gl_list; ap; ap = ap->argnxt.ap)
209 if(gp->gl_list)
210 *arghead = (struct argnod*)gp->gl_list;
211 return(gp->gl_pathc+extra);