Home | History | Annotate | Download | only in getcwd

Lines Matching defs:up

88 	char *ept, *eup, *up;
116 if ((up = malloc(upsize = 1024 - 4)) == NULL)
118 eup = up + MAXPATHLEN;
119 bup = up;
120 up[0] = '.';
121 up[1] = '\0';
133 if (lstat(up, &s))
149 free(up);
159 if ((up = realloc(up, upsize *= 2)) == NULL)
161 bup = up;
162 eup = up + upsize;
169 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
208 if (lstat(up, &s)) {
260 free(up);