Searched refs:pipe_fd (Results 1 - 6 of 6) sorted by relevance

/openbsd-current/usr.bin/tmux/
H A Dcmd-pipe-pane.c67 int old_fd, pipe_fd[2], null_fd, in, out; local
78 old_fd = wp->pipe_fd;
79 if (wp->pipe_fd != -1) {
81 close(wp->pipe_fd);
82 wp->pipe_fd = -1;
113 if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pipe_fd) != 0) {
138 close(pipe_fd[0]);
142 if (dup2(pipe_fd[1], STDIN_FILENO) == -1)
149 if (dup2(pipe_fd[1], STDOUT_FILENO) == -1)
151 if (pipe_fd[
[all...]
H A Dwindow.c374 if (wp->pipe_fd != -1) {
938 wp->pipe_fd = -1;
975 if (wp->pipe_fd != -1) {
977 close(wp->pipe_fd);
1008 if (wp->pipe_fd != -1) {
H A Dtmux.h1085 int pipe_fd; member in struct:window_pane
/openbsd-current/regress/lib/libpthread/cancel2/
H A Dcancel2.c83 int pipe_fd[2]; local
85 CHECKe(pipe(pipe_fd));
88 CHECKr(pthread_create(&thread, NULL, select_thread, pipe_fd));
95 CHECKr(pthread_create(&thread, NULL, pselect_thread, pipe_fd));
102 CHECKr(pthread_create(&thread, NULL, poll_thread, pipe_fd));
109 CHECKr(pthread_create(&thread, NULL, ppoll_thread, pipe_fd));
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dcollect2.c2130 int pipe_fd[2];
2148 if (pipe (pipe_fd) < 0)
2151 inf = fdopen (pipe_fd[0], "r");
2178 if (dup2 (pipe_fd[1], 1) < 0)
2179 fatal_perror ("dup2 %d 1", pipe_fd[1]);
2181 if (close (pipe_fd[0]) < 0)
2182 fatal_perror ("close %d", pipe_fd[0]);
2184 if (close (pipe_fd[1]) < 0)
2185 fatal_perror ("close %d", pipe_fd[1]);
2197 if (close (pipe_fd[
2113 int pipe_fd[2]; local
2557 int pipe_fd[2]; local
[all...]
/openbsd-current/gnu/llvm/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp455 const int pipe_fd = m_pipe.GetReadFileDescriptor(); local
470 const bool have_pipe_fd = pipe_fd >= 0;
473 select_helper.FDSetRead(pipe_fd);
507 if (select_helper.FDIsSetRead(pipe_fd)) {
513 llvm::sys::RetryAfterSignal(-1, ::read, pipe_fd, &c, 1);

Completed in 129 milliseconds