Home
last modified time | relevance | path

Searched refs:tofd (Results 1 – 9 of 9) sorted by relevance

/freebsd/usr.bin/patch/
H A Dutil.c166 int tofd, fromfd; in copy_file() local
169 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); in copy_file()
170 if (tofd < 0) in copy_file()
176 if (write(tofd, buf, i) != i) in copy_file()
179 close(tofd); 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()
/freebsd/sys/kern/
H A Dvfs_syscalls.c3754 kern_renameat_mac(struct thread *td, int fromfd, const char *from, int tofd, in kern_renameat_mac() argument
3779 kern_renameat(struct thread *td, int fromfd, const char *from, int tofd, in kern_renameat() argument
3808 error = kern_renameat_mac(td, fromfd, from, tofd, to, pathseg, in kern_renameat()
3837 NDINIT_ATRIGHTS(&tond, RENAME, tondflags, pathseg, to, tofd, in kern_renameat()
3948 if (tofd != AT_FDCWD && (tond.ni_resflags & NIRES_ABS) == 0) { in kern_renameat()
4713 int tofd; member
4721 return (kern_fhlinkat(td, uap->tofd, uap->to, UIO_USERSPACE, uap->fhp)); in sys_fhlinkat()
H A Dsystrace_args.c3232 iarg[a++] = p->tofd; /* int */ in systrace_args()
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h2553 #define __sanitizer_syscall_pre_renameat(fromfd, from, tofd, to) \ argument
2555 (long long)(from), (long long)(tofd), \
2557 #define __sanitizer_syscall_post_renameat(res, fromfd, from, tofd, to) \ argument
2559 (long long)(from), (long long)(tofd), \
4773 long long tofd, long long to);
4775 long long from, long long tofd,
/freebsd/sys/sys/
H A Dsyscallsubr.h336 int tofd, const char *to, enum uio_seg pathseg, u_int flags);
H A Dsysproto.h1753 char tofd_l_[PADL_(int)]; int tofd; char tofd_r_[PADR_(int)]; member
/freebsd/lib/libsys/
H A D_libsys.h854 int __sys_fhlinkat(struct fhandle * fhp, int tofd, const char * to);
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c3145 iarg[a++] = p->tofd; /* int */ in systrace_args()