Home
last modified time | relevance | path

Searched refs:out_fd (Results 1 – 13 of 13) sorted by relevance

/freebsd/crypto/heimdal/lib/roken/
H A Dsimple_exec.c147 int in_fd[2], out_fd[2], err_fd[2]; in pipe_execv() local
155 pipe(out_fd); in pipe_execv()
171 close(out_fd[0]); in pipe_execv()
179 out_fd[1] = open(_PATH_DEVNULL, O_WRONLY); in pipe_execv()
188 if(out_fd[1] != STDOUT_FILENO) { in pipe_execv()
189 dup2(out_fd[1], STDOUT_FILENO); in pipe_execv()
190 close(out_fd[1]); in pipe_execv()
207 close(out_fd[0]); in pipe_execv()
208 close(out_fd[1]); in pipe_execv()
221 close(out_fd[1]); in pipe_execv()
[all …]
/freebsd/contrib/pf/tftp-proxy/
H A Dtftp-proxy.c73 int c, fd = 0, on = 1, out_fd = 0, peer, reqsize = 0; in main() local
232 if ((out_fd = socket(((struct sockaddr *)&from)->sa_family, in main()
241 if (bind(out_fd, (struct sockaddr *)&sock_out, sizeof(sock_out)) < 0) { in main()
246 if (connect(out_fd, (struct sockaddr *)&server, in main()
253 if ((getsockname(out_fd, (struct sockaddr *)&proxy_to_server, in main()
320 if (send(out_fd, tp, reqsize, 0) < 0) { in main()
/freebsd/contrib/mandoc/
H A Dcatman.c124 int in_fd, out_fd; in process_manpage() local
132 if ((out_fd = openat(dstdir_fd, path, in process_manpage()
140 irc = sock_fd_write(srv_fd, in_fd, out_fd, STDERR_FILENO); in process_manpage()
143 close(out_fd); in process_manpage()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_console_io.c117 p_oct->out_fd = -1; in cio_close()
153 p_oct->out_fd = p_oct->in_fd; in cio_open()
194 p_oct->out_fd = fileno(stdout); in osm_console_init()
246 p_oct->out_fd = -1; in osm_console_init()
/freebsd/crypto/heimdal/appl/push/
H A Dpush.c224 int out_fd; in doit() local
243 out_fd = -1; in doit()
260 out_fd = open(outfilename, O_WRONLY | O_APPEND | O_CREAT, 0666); in doit()
261 if (out_fd < 0) in doit()
284 write_state_init (&write_state, out_fd); in doit()
375 if (fsync (out_fd) < 0) in doit()
377 close(out_fd); in doit()
/freebsd/contrib/processor-trace/libipt/src/posix/
H A Dpt_section_posix.c228 goto out_fd; in pt_section_map()
244 goto out_fd; in pt_section_map()
257 out_fd: in pt_section_map()
/freebsd/contrib/wpa/src/utils/
H A Dwpa_debug.c554 int out_fd; in wpa_debug_open_file() local
565 out_fd = open(path, O_CREAT | O_APPEND | O_WRONLY, in wpa_debug_open_file()
567 if (out_fd < 0) { in wpa_debug_open_file()
575 if (fcntl(out_fd, F_SETFD, FD_CLOEXEC) < 0) { in wpa_debug_open_file()
582 out_file = fdopen(out_fd, "a"); in wpa_debug_open_file()
586 close(out_fd); in wpa_debug_open_file()
/freebsd/contrib/processor-trace/libipt/src/windows/
H A Dpt_section_windows.c285 goto out_fd; in pt_section_map()
300 goto out_fd; in pt_section_map()
313 out_fd: in pt_section_map()
/freebsd/contrib/capsicum-test/
H A Dsyscalls.h37 inline ssize_t sendfile_(int out_fd, int in_fd, off_t *offset, size_t count) { in sendfile_() argument
38 return sendfile(in_fd, out_fd, *offset, count, NULL, offset, 0); in sendfile_()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_console_io.h74 int out_fd; member
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h782 #define __sanitizer_syscall_pre_sendfile(out_fd, in_fd, offset, count) \ argument
783 __sanitizer_syscall_pre_impl_sendfile((long)(out_fd), (long)(in_fd), \
785 #define __sanitizer_syscall_post_sendfile(res, out_fd, in_fd, offset, count) \ argument
786 __sanitizer_syscall_post_impl_sendfile(res, (long)(out_fd), (long)(in_fd), \
788 #define __sanitizer_syscall_pre_sendfile64(out_fd, in_fd, offset, count) \ argument
789 __sanitizer_syscall_pre_impl_sendfile64((long)(out_fd), (long)(in_fd), \
791 #define __sanitizer_syscall_post_sendfile64(res, out_fd, in_fd, offset, count) \ argument
792 __sanitizer_syscall_post_impl_sendfile64(res, (long)(out_fd), (long)(in_fd), \
2452 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset,
2454 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, long in_fd,
[all …]
/freebsd/contrib/ofed/librdmacm/
H A Dpreload.c89 ssize_t (*sendfile)(int out_fd, int in_fd, off_t *offset, size_t count);
1153 ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count) in sendfile() argument
1159 if (fd_get(out_fd, &fd) != fd_rsocket) in sendfile()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc1462 PRE_SYSCALL(sendfile)(long out_fd, long in_fd, void *offset, long count) {}
1465 (long res, long out_fd, long in_fd, __sanitizer___kernel_off_t *offset,
1473 PRE_SYSCALL(sendfile64)(long out_fd, long in_fd, void *offset, long count) {}
1476 (long res, long out_fd, long in_fd, __sanitizer___kernel_loff_t *offset,