Searched refs:pipe_fd (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/contrib/opie/ |
H A D | popen.c | 101 static int pipe_fd; variable 169 iop = fdopen(pipe_fd = pdes[0], type); 172 iop = fdopen(pipe_fd = pdes[1], type); 196 if ((child_pid < 0) || (fileno(iop) != pipe_fd)) 206 pipe_fd = -1;
|
/freebsd-11-stable/contrib/openbsm/bin/auditfilterd/ |
H A D | auditfilterd.c | 218 mainloop_pipe(const char *conffile, const char *pipefile __unused, int pipe_fd) argument 250 reclen = read(pipe_fd, record, MAX_AUDIT_RECORD_SIZE); 266 int pipe_fd; local 313 pipe_fd = open(pipefile, O_RDONLY); 314 if (pipe_fd < 0) 316 if (fstat(pipe_fd, &sb) < 0) 346 mainloop_pipe(conffile, pipefile, pipe_fd);
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 125 int pipe_fd[2]; local 139 ATF_REQUIRE_MSG(pipe(pipe_fd) == 0, "pipe: %s", strerror(errno)); 151 if (write(pipe_fd[1], &pipe_out, 1) != 1) 162 ATF_REQUIRE_MSG(read(pipe_fd[0], &pipe_in, 1) == 1,
|
/freebsd-11-stable/tests/sys/kqueue/libkqueue/ |
H A D | proc.c | 82 int pipe_fd[2]; local 90 if (pipe(pipe_fd)) { 103 result = read(pipe_fd[1], test_id, 1); 144 result = write(pipe_fd[0], test_id, 1);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | ConnectionFileDescriptorPosix.cpp | 561 const int pipe_fd = m_pipe.GetReadFileDescriptor(); local 576 const bool have_pipe_fd = pipe_fd >= 0; 579 select_helper.FDSetRead(pipe_fd); 613 if (select_helper.FDIsSetRead(pipe_fd)) { 618 ssize_t bytes_read = llvm::sys::RetryAfterSignal(-1, ::read, pipe_fd, &c, 1);
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | dhclient.c | 353 int pipe_fd[2]; local 477 if (pipe(pipe_fd) == -1) 480 fork_privchld(pipe_fd[0], pipe_fd[1]); 487 close(pipe_fd[0]); 488 privfd = pipe_fd[1];
|
Completed in 136 milliseconds