Searched refs:tofd (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/lvm/libsvm/common/ |
H A D | start_svm.c | 239 int fromfd, tofd; in copyfile() local 252 if ((tofd = open(to, O_CREAT | O_WRONLY | O_TRUNC, in copyfile() 261 (void) fchmod(tofd, fromstat.st_mode & MODEBITS); in copyfile() 271 if (write(tofd, buf, rbytes) != rbytes) { in copyfile() 278 (void) close(tofd); in copyfile()
|
/titanic_41/usr/src/cmd/backup/restore/ |
H A D | restore.c | 995 int fromfd, fromdir, tofd, todir, tfd; local 999 fromfd = tofd = fromdir = todir = tfd = -1; 1029 if ((tofd = openat64(tfd, to, O_RDONLY|O_NONBLOCK)) == -1 || 1030 (todir = openat64(tofd, ".", O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) { 1036 (void) close(tofd); 1063 if (tofd != -1) 1064 (void) close(tofd);
|
H A D | utilities.c | 103 int fromfd, tofd; in renameit() local 116 tofd = fromfd; in renameit() 126 resolve(tp, &tofd, &to); in renameit() 127 if (renameat(fromfd, from, tofd, to) < 0) { in renameit() 137 if (tofd != AT_FDCWD) (void) close(tofd); in renameit()
|
/titanic_41/usr/src/cmd/tar/ |
H A D | tar.c | 8507 renameat(int fromfd, char *old, int tofd, char *new) in renameat() argument
|
/titanic_41/usr/src/cmd/cpio/ |
H A D | cpio.c | 9706 renameat(int fromfd, char *old, int tofd, char *new) in renameat() argument
|