Lines Matching refs:pwdfd
38 int pwdfd;
42 pwdfd = open(".", O_RDONLY);
43 if ((pwdfd != -1) && (fchdir(indfd) == 0)) {
45 (void) fchdir(pwdfd);
46 (void) close(pwdfd);
51 (void) fchdir(pwdfd);
52 (void) close(pwdfd);
57 (void) fchdir(pwdfd);
58 (void) close(pwdfd);
63 (void) fchdir(pwdfd);
64 (void) close(pwdfd);
67 (void) fchdir(pwdfd);