Searched refs:nextpathptr (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/contrib/bmake/ |
| H A D | util.c | 277 char *pathptr, *nextpathptr, *cur_name_add; in getwd() local 288 cur_name_add = nextpathptr = &nextpathbuf[MAXPATHLEN - 1]; in getwd() 296 nextpathptr = strrcpy(nextpathptr, "../"); in getwd() 309 if (stat(nextpathptr, &st_dotdot) == -1) { in getwd() 312 nextpathptr, strerror(errno)); in getwd() 315 if ((dp = opendir(nextpathptr)) == NULL) { in getwd() 318 nextpathptr, strerror(errno)); in getwd() 338 if (lstat(nextpathptr, &st_next) == -1) { in getwd() 360 nextpathptr = strrcpy(nextpathptr, "../"); in getwd()
|
| /freebsd-12.1/contrib/tcsh/ |
| H A D | tc.os.c | 1309 char *pathptr, *nextpathptr, *cur_name_add; in xgetcwd() local 1322 cur_name_add = nextpathptr = &nextpathbuf[MAXPATHLEN - 1]; in xgetcwd() 1331 nextpathptr = strnrcpy(nextpathptr, "../", nextpathptr - nextpathbuf); in xgetcwd() 1345 if (stat(nextpathptr, &st_dotdot) == -1) { in xgetcwd() 1348 nextpathptr, strerror(errno)); in xgetcwd() 1351 if ((dp = opendir(nextpathptr)) == NULL) { in xgetcwd() 1354 nextpathptr, strerror(errno)); in xgetcwd() 1381 if (lstat(nextpathptr, &st_next) == -1) { in xgetcwd() 1410 nextpathptr = strnrcpy(nextpathptr, "../", nextpathptr - nextpathbuf); in xgetcwd()
|