Home | History | Annotate | Download | only in util

Lines Matching refs:DIR

123 	static char dir[PATH_MAX];
127 /* get rid of unnecessary "../dir" sequences */
129 /* find innermost occurance of "../dir", and save "dir" */
131 char *a, *s, *d = dir;
142 if (!strcmp(dir,"//"))
144 /* note: p still points at ../dir */
156 if (strncmp(dir, a, strlen(dir)))
158 while ((*p++ = *s++)); /* delete the ../dir */
276 DIR *dfd;
310 fprintf(stderr, "Usage:\t%s [-cdorstv] LINK|DIR ...\n\n", progname);