Searched refs:out_fd (Results 1 - 8 of 8) sorted by relevance
/freebsd-11.0-release/usr.sbin/nandtool/ |
H A D | nand_read.c | 42 int fd = -1, out_fd = -1, done = 0, ret = 0; local 53 out_fd = open(out, O_WRONLY|O_CREAT); 54 if (out_fd == -1) { 116 if (out_fd != -1) { 118 if ((ret = write(out_fd, buf, chip_params.page_size)) != 132 if (out_fd != -1) 133 close(out_fd);
|
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | simple_exec.c | 147 int in_fd[2], out_fd[2], err_fd[2]; local 155 pipe(out_fd); 171 close(out_fd[0]); 179 out_fd[1] = open(_PATH_DEVNULL, O_WRONLY); 188 if(out_fd[1] != STDOUT_FILENO) { 189 dup2(out_fd[1], STDOUT_FILENO); 190 close(out_fd[1]); 207 close(out_fd[0]); 208 close(out_fd[1]); 221 close(out_fd[ [all...] |
/freebsd-11.0-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_console_io.h | 70 int out_fd; member in struct:osm_console
|
/freebsd-11.0-release/contrib/pf/tftp-proxy/ |
H A D | tftp-proxy.c | 73 int c, fd = 0, on = 1, out_fd = 0, peer, reqsize = 0; local 232 if ((out_fd = socket(((struct sockaddr *)&from)->sa_family, 241 if (bind(out_fd, (struct sockaddr *)&sock_out, sizeof(sock_out)) < 0) { 246 if (connect(out_fd, (struct sockaddr *)&server, 253 if ((getsockname(out_fd, (struct sockaddr *)&proxy_to_server, 320 if (send(out_fd, tp, reqsize, 0) < 0) {
|
/freebsd-11.0-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_console_io.c | 103 p_oct->out_fd = -1; 161 p_oct->out_fd = fileno(stdout); 201 p_oct->out_fd = -1; 244 p_oct->out_fd = p_oct->in_fd;
|
/freebsd-11.0-release/crypto/heimdal/appl/push/ |
H A D | push.c | 224 int out_fd; local 243 out_fd = -1; 260 out_fd = open(outfilename, O_WRONLY | O_APPEND | O_CREAT, 0666); 261 if (out_fd < 0) 284 write_state_init (&write_state, out_fd); 375 if (fsync (out_fd) < 0) 377 close(out_fd);
|
/freebsd-11.0-release/contrib/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 783 #define __sanitizer_syscall_pre_sendfile(out_fd, in_fd, offset, count) \ 784 __sanitizer_syscall_pre_impl_sendfile((long)(out_fd), (long)(in_fd), \ 786 #define __sanitizer_syscall_post_sendfile(res, out_fd, in_fd, offset, count) \ 787 __sanitizer_syscall_post_impl_sendfile(res, (long)(out_fd), (long)(in_fd), \ 789 #define __sanitizer_syscall_pre_sendfile64(out_fd, in_fd, offset, count) \ 790 __sanitizer_syscall_pre_impl_sendfile64((long)(out_fd), (long)(in_fd), \ 792 #define __sanitizer_syscall_post_sendfile64(res, out_fd, in_fd, offset, count) \ 793 __sanitizer_syscall_post_impl_sendfile64(res, (long)(out_fd), (long)(in_fd), \ 2437 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset, 2439 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, lon [all...] |
/freebsd-11.0-release/contrib/gcc/ |
H A D | mips-tfile.c | 4869 int out_fd; 4876 out_fd = open (obj_in_name, O_WRONLY | O_CREAT | O_TRUNC, 0666); 4877 if (out_fd < 0) 4882 len2 = write (out_fd, buffer, len); 4898 if (close (out_fd) < 0) 4828 int out_fd; local
|
Completed in 288 milliseconds