| /openbsd-src/usr.bin/rsync/ |
| H A D | copy.c | 45 copy_internal(int fromfd, int tofd) in copy_internal() argument 50 while ((r = read(fromfd, buf, sizeof(buf))) > 0) { in copy_internal() 70 int fromfd, tofd, dfd; in copy_file() local 76 fromfd = openat(dfd, f->path, O_RDONLY | O_NOFOLLOW); in copy_file() 77 if (fromfd == -1) in copy_file() 87 if (copy_internal(fromfd, tofd) == -1) in copy_file() 90 close(fromfd); in copy_file()
|
| /openbsd-src/gnu/usr.bin/binutils/binutils/ |
| H A D | rename.c | 51 int fromfd, tofd, nread; in simple_copy() local 55 fromfd = open (from, O_RDONLY | O_BINARY); in simple_copy() 56 if (fromfd < 0) in simple_copy() 66 close (fromfd); in simple_copy() 70 while ((nread = read (fromfd, buf, sizeof buf)) > 0) in simple_copy() 75 close (fromfd); in simple_copy() 82 close (fromfd); in simple_copy()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/binutils/ |
| H A D | rename.c | 52 int fromfd, tofd, nread; in simple_copy() local 56 fromfd = open (from, O_RDONLY | O_BINARY); in simple_copy() 57 if (fromfd < 0) in simple_copy() 67 close (fromfd); in simple_copy() 71 while ((nread = read (fromfd, buf, sizeof buf)) > 0) in simple_copy() 76 close (fromfd); in simple_copy() 83 close (fromfd); in simple_copy()
|
| /openbsd-src/usr.bin/patch/ |
| H A D | util.c | 51 int fromfd; in move_file() local 61 fromfd = open(from, O_RDONLY); in move_file() 62 if (fromfd == -1) in move_file() 64 while ((i = read(fromfd, buf, bufsz)) > 0) in move_file() 67 close(fromfd); in move_file() 154 int tofd, fromfd; in copy_file() local 160 fromfd = open(from, O_RDONLY); in copy_file() 161 if (fromfd == -1) in copy_file() 163 while ((i = read(fromfd, buf, bufsz)) > 0) in copy_file() 166 close(fromfd); in copy_file()
|
| /openbsd-src/gnu/usr.bin/cvs/vms/ |
| H A D | pc.c | 18 int tofd, fromfd; local 30 pid = piped_child(linep, &tofd, &fromfd); 32 in = fdopen(fromfd, "r");
|
| H A D | startserver.c | 13 vms_start_server (int *tofd, int *fromfd, in vms_start_server() argument 54 *fromfd = fd; in vms_start_server()
|
| /openbsd-src/gnu/usr.bin/cvs/emx/ |
| H A D | startserver.c | 27 os2_start_server (int *tofd, int *fromfd, in os2_start_server() argument 71 *fromfd = fd; in os2_start_server()
|
| H A D | config.h | 268 extern void START_SERVER (int *tofd, int *fromfd,
|
| /openbsd-src/gnu/usr.bin/cvs/windows-NT/ |
| H A D | startserver.c | 20 wnt_start_server (int *tofd, int *fromfd, in wnt_start_server() argument 59 *fromfd = read_fd; in wnt_start_server()
|
| H A D | config.h | 285 extern void wnt_start_server (int *tofd, int *fromfd,
|
| H A D | ChangeLog | 421 both *tofd and *fromfd to read_fd.
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | client.c | 3885 int tofd, fromfd; local 4112 tofd = fromfd = sock; 4115 *fromfdp = fromfd; 4369 int tofd, fromfd, rootless; in start_server() local 4391 connect_to_pserver (&tofd, &fromfd, 0, 0); in start_server() 4397 start_tcp_server (&tofd, &fromfd); in start_server() 4404 connect_to_pserver (&tofd, &fromfd, 0, 1); in start_server() 4413 start_rsh_server (&tofd, &fromfd); in start_server() 4419 START_SERVER (&tofd, &fromfd, getcaller (), in start_server() 4440 connect_to_forked_server (&tofd, &fromfd); in start_server() [all …]
|
| H A D | ChangeLog-96 | 3633 (connect_to_pserver): Put tofd and fromfd declarations inside
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | syscall_emulator.c | 1386 int fromfd = (int)va_arg(args, long); in syscall_emulator() local 1390 ret = renameat(fromfd, from, tofd, to); in syscall_emulator()
|
| /openbsd-src/gnu/llvm/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,
|
| /openbsd-src/sys/kern/ |
| H A D | vfs_syscalls.c | 2956 syscallarg(int) fromfd; in sys_renameat() 2962 return (dorenameat(p, SCARG(uap, fromfd), SCARG(uap, from), in sys_renameat() 2967 dorenameat(struct proc *p, int fromfd, const char *from, int tofd, in dorenameat() 2976 fromfd, from, p); in dorenameat() 2965 dorenameat(struct proc * p,int fromfd,const char * from,int tofd,const char * to) dorenameat() argument
|
| /openbsd-src/sys/sys/ |
| H A D | syscallargs.h | 1136 syscallarg(int) fromfd;
|
| /openbsd-src/gnu/usr.bin/cvs/os2/ |
| H A D | ChangeLog | 622 * client.c (start_server): set tofd and fromfd with popenRW, now
|