Searched defs:pwdfd (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/backup/dump/
H A Dlftw.c102 static int pwdfd; variable
118 if ((pwdfd = open(".", O_RDONLY)) < 0) {
122 (void) close(pwdfd);
180 (void) fchdir(pwdfd);
209 (void) fchdir(pwdfd);
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dprocess_xattrs.c38 int pwdfd; local
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);
[all...]
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c2220 int pwdfd; local
2222 pwdfd = open(".", O_RDONLY);
2223 if ((pwdfd != -1) && (fchdir(sourcedirfd) == 0)) {
2225 (void) fchdir(pwdfd);
2226 (void) close(pwdfd);

Completed in 49 milliseconds