| /src/sys/arch/zaurus/stand/zboot/ |
| loadfile_zboot.c | 107 int tofd; local 126 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 127 if (tofd == -1) { 132 if (uwrite(tofd, bibuf, p - bibuf) != p - bibuf) 136 uclose(tofd); 141 tofd = uopen(_PATH_ZBOOT, LINUX_O_WRONLY); 142 if (tofd == -1) { 153 if ((sz = uwrite(tofd, buf, sz)) != sizeof(buf)) { 164 if (sz >= 0 && uwrite(tofd, buf, sz) != sz) { 169 uclose(tofd); [all...] |
| /src/external/gpl2/xcvs/dist/src/ |
| rsh-client.c | 144 int tofd, fromfd; local 194 child_pid = piped_child (argv, &tofd, &fromfd, true); 201 make_bufs_from_fds (tofd, fromfd, child_pid, root, to_server_p,
|
| release.c | 61 int tofd, fromfd; local 85 *child_pid = run_piped (&tofd, &fromfd); 89 close (tofd);
|
| client.c | 3447 make_bufs_from_fds(int tofd, int fromfd, int child_pid, cvsroot_t *root, 3454 assert (tofd == fromfd); 3455 *to_server_p = socket_buffer_initialize (tofd, 0, NULL); 3456 *from_server_p = socket_buffer_initialize (tofd, 1, NULL); 3462 close_on_exec (tofd); 3468 if (tofd == fromfd) 3470 fromfd = dup (tofd); 3481 *to_server_p = fd_buffer_initialize (tofd, 0, root, false, NULL); 3785 int tofd, fromfd; 3823 child_pid = piped_child (command, &tofd, &fromfd, false) 3784 int tofd, fromfd; local 3908 int tofd, fromfd; local [all...] |
| /src/external/gpl3/binutils/dist/binutils/ |
| rename.c | 41 int tofd, nread; local 49 tofd = open (to, O_WRONLY | O_TRUNC | O_BINARY); 50 if (tofd < 0) 60 if (write (tofd, buf, nread) != nread) 64 close (tofd); 76 fchmod (tofd, target_stat->st_mode); 80 close (tofd);
|
| /src/external/gpl3/binutils.old/dist/binutils/ |
| rename.c | 41 int tofd, nread; local 49 tofd = open (to, O_WRONLY | O_TRUNC | O_BINARY); 50 if (tofd < 0) 60 if (write (tofd, buf, nread) != nread) 64 close (tofd); 76 fchmod (tofd, target_stat->st_mode); 80 close (tofd);
|
| /src/usr.bin/patch/ |
| util.c | 172 int tofd, fromfd; local 175 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); 176 if (tofd < 0) 182 if (write(tofd, buf, i) != i) 185 close(tofd);
|
| /src/sys/compat/linux/arch/aarch64/ |
| linux_syscallargs.h | 1112 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/alpha/ |
| linux_syscallargs.h | 1388 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/amd64/ |
| linux_syscallargs.h | 1278 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/arm/ |
| linux_syscallargs.h | 1352 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/i386/ |
| linux_syscallargs.h | 1366 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/m68k/ |
| linux_syscallargs.h | 1318 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/mips/ |
| linux_syscallargs.h | 1390 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/linux/arch/powerpc/ |
| linux_syscallargs.h | 1277 syscallarg(int) tofd; member in struct:linux_sys_renameat2_args
|
| /src/sys/compat/netbsd32/ |
| netbsd32_syscallargs.h | 2480 syscallarg(int) tofd; member in struct:netbsd32_renameat_args
|
| /src/sys/sys/ |
| syscallargs.h | 3015 syscallarg(int) tofd; member in struct:sys_renameat_args
|