Home | History | Annotate | Download | only in openbsd-compat

Lines Matching refs:up

65 	char *ept, *eup, *up;
92 if ((up = malloc(upsize = MAXPATHLEN)) == NULL)
94 eup = up + upsize;
95 bup = up;
96 up[0] = '.';
97 up[1] = '\0';
109 if (lstat(up, &s))
125 free(up);
137 if ((nup = realloc(up, upsize *= 2)) == NULL)
139 bup = nup + (bup - up);
140 up = nup;
141 eup = up + upsize;
148 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
176 if (lstat(up, &s)) {
231 free(up);