Searched defs:fromfd (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dstart_svm.c239 int fromfd, tofd; local
244 if ((fromfd = open(from, O_RDONLY | O_NDELAY)) < 0)
247 if ((fstat(fromfd, &fromstat) < 0) || ! ISREG(fromstat)) {
248 (void) close(fromfd);
254 (void) close(fromfd);
264 rbytes = read(fromfd, buf, sizeof (buf));
277 (void) close(fromfd);
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c995 int fromfd, fromdir, tofd, todir, tfd; local
999 fromfd = tofd = fromdir = todir = tfd = -1;
1006 if ((fromfd = openat64(tfd, from, O_RDONLY|O_NONBLOCK)) == -1) {
1013 if (fpathconf(fromfd, _PC_XATTR_EXISTS) != 1) {
1018 if ((fromdir = openat64(fromfd, ".",
1061 if (fromfd != -1)
1062 (void) close(fromfd);
H A Dutilities.c103 int fromfd, tofd; local
108 resolve(fp, &fromfd, &from);
116 tofd = fromfd;
127 if (renameat(fromfd, from, tofd, to) < 0) {
136 if (fromfd != AT_FDCWD) (void) close(fromfd);
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c9706 renameat(int fromfd, char *old, int tofd, char *new) argument
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c8548 renameat(int fromfd, char *old, int tofd, char *new) argument

Completed in 117 milliseconds