Searched refs:fromfd (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/usr.bin/patch/ |
| H A D | util.c | 55 int fromfd; in move_file() local 65 fromfd = open(from, O_RDONLY); in move_file() 66 if (fromfd < 0) in move_file() 68 while ((i = read(fromfd, buf, buf_size)) > 0) in move_file() 71 close(fromfd); in move_file() 167 int tofd, fromfd; in copy_file() local 173 fromfd = open(from, O_RDONLY, 0); in copy_file() 174 if (fromfd < 0) in copy_file() 176 while ((i = read(fromfd, buf, buf_size)) > 0) in copy_file() 179 close(fromfd); in copy_file()
|
| /freebsd-13.1/contrib/openbsm/bin/auditdistd/ |
| H A D | renameat.h | 37 renameat(int fromfd, const char *from, int tofd, const char *to) in renameat() argument 41 if (fromfd != tofd) { in renameat() 50 if (fchdir(fromfd) == -1) { in renameat()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| H A D | netbsd_syscall_hooks.h | 2553 #define __sanitizer_syscall_pre_renameat(fromfd, from, tofd, to) \ argument 2554 __sanitizer_syscall_pre_impl_renameat((long long)(fromfd), \ 2557 #define __sanitizer_syscall_post_renameat(res, fromfd, from, tofd, to) \ argument 2558 __sanitizer_syscall_post_impl_renameat(res, (long long)(fromfd), \ 4772 void __sanitizer_syscall_pre_impl_renameat(long long fromfd, long long from, 4774 void __sanitizer_syscall_post_impl_renameat(long long res, long long fromfd,
|