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

/freebsd-current/contrib/openbsm/bin/auditdistd/
H A Drenameat.h37 renameat(int fromfd, const char *from, int tofd, const char *to) argument
41 if (fromfd != tofd) {
50 if (fchdir(fromfd) == -1) {
/freebsd-current/usr.bin/patch/
H A Dutil.c54 int fromfd; local
64 fromfd = open(from, O_RDONLY);
65 if (fromfd < 0)
67 while ((i = read(fromfd, buf, buf_size)) > 0)
70 close(fromfd);
166 int tofd, fromfd; local
172 fromfd = open(from, O_RDONLY, 0);
173 if (fromfd < 0)
175 while ((i = read(fromfd, buf, buf_size)) > 0)
178 close(fromfd);
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h2553 #define __sanitizer_syscall_pre_renameat(fromfd, from, tofd, to) \
2554 __sanitizer_syscall_pre_impl_renameat((long long)(fromfd), \
2557 #define __sanitizer_syscall_post_renameat(res, fromfd, from, tofd, to) \
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,

Completed in 89 milliseconds