Home
last modified time | relevance | path

Searched refs:fromfd (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.bin/patch/
H A Dutil.c54 int fromfd; in move_file() local
64 fromfd = open(from, O_RDONLY); in move_file()
65 if (fromfd < 0) in move_file()
67 while ((i = read(fromfd, buf, buf_size)) > 0) in move_file()
70 close(fromfd); in move_file()
166 int tofd, fromfd; in copy_file() local
172 fromfd = open(from, O_RDONLY, 0); in copy_file()
173 if (fromfd < 0) in copy_file()
175 while ((i = read(fromfd, buf, buf_size)) > 0) in copy_file()
178 close(fromfd); in copy_file()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Drenameat.h37 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/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h2553 #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,