Searched refs:curfd (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/du/ |
H A D | du.c | 93 static u_longlong_t descend(char *curname, int curfd, int *retcode, 278 descend(char *curname, int curfd, int *retcode, dev_t device) in descend() argument 300 curfd = AT_FDCWD; in descend() 309 i = fstatat(curfd, curname, &stb, 0); in descend() 310 j = fstatat(curfd, curname, &stb1, AT_SYMLINK_NOFOLLOW); in descend() 320 i = fstatat(curfd, curname, &stb, AT_SYMLINK_NOFOLLOW); in descend() 423 dirp = fdopendir(curfd); in descend() 445 if ((curname ? (chdir(curname) < 0) : (fchdir(curfd) < 0))) { in descend()
|