Searched refs:nextpathptr (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/bmake/ |
H A D | util.c | 242 char *pathptr, *nextpathptr, *cur_name_add; in getwd() local 253 cur_name_add = nextpathptr = &nextpathbuf[MAXPATHLEN - 1]; in getwd() 261 nextpathptr = strrcpy(nextpathptr, "../"); in getwd() 274 if (stat(nextpathptr, &st_dotdot) == -1) { in getwd() 277 nextpathptr, strerror(errno)); in getwd() 280 if ((dp = opendir(nextpathptr)) == NULL) { in getwd() 283 nextpathptr, strerror(errno)); in getwd() 302 if (lstat(nextpathptr, &st_next) == -1) { in getwd() 324 nextpathptr = strrcpy(nextpathptr, "../"); in getwd()
|
/freebsd/contrib/tcsh/ |
H A D | tc.os.c | 1305 char *pathptr, *nextpathptr, *cur_name_add; in xgetcwd() local 1318 cur_name_add = nextpathptr = &nextpathbuf[MAXPATHLEN - 1]; in xgetcwd() 1327 nextpathptr = strnrcpy(nextpathptr, "../", nextpathptr - nextpathbuf); in xgetcwd() 1341 if (stat(nextpathptr, &st_dotdot) == -1) { in xgetcwd() 1344 nextpathptr, strerror(errno)); in xgetcwd() 1347 if ((dp = opendir(nextpathptr)) == NULL) { in xgetcwd() 1350 nextpathptr, strerror(errno)); in xgetcwd() 1377 if (lstat(nextpathptr, &st_next) == -1) { in xgetcwd() 1406 nextpathptr = strnrcpy(nextpathptr, "../", nextpathptr - nextpathbuf); in xgetcwd()
|