Searched refs:pipe_fd (Results 1 - 8 of 8) sorted by relevance
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_log.c | 33 int pipe_fd[2]; member in struct:__anon10427 48 _ctx.pipe_fd[0] = -1; 49 _ctx.pipe_fd[1] = -1; 69 if ((_ctx.pipe_fd[0] != -1) || (_ctx.pipe_fd[1] != -1)) 73 if (pipe(_ctx.pipe_fd) < 0) 87 if (_ctx.pipe_fd[0] < 0) 92 if (close(_ctx.pipe_fd[0]) < 0) 97 _ctx.pipe_fd[0] = -1; 112 if (_ctx.pipe_fd[ [all...] |
/freebsd-13-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-13-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-13-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-13-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-13-stable/contrib/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 1053 int pipe_fd[2]; local 1054 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1071 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); 1072 set_write_fd(pipe_fd[1]); 1083 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); 1084 set_read_fd(pipe_fd[0]); 1346 int pipe_fd[2]; local 1347 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); 1350 GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1); 1359 + StreamableToString(pipe_fd[ [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | ConnectionFileDescriptorPosix.cpp | 562 const int pipe_fd = m_pipe.GetReadFileDescriptor(); local 577 const bool have_pipe_fd = pipe_fd >= 0; 580 select_helper.FDSetRead(pipe_fd); 614 if (select_helper.FDIsSetRead(pipe_fd)) { 619 ssize_t bytes_read = llvm::sys::RetryAfterSignal(-1, ::read, pipe_fd, &c, 1);
|
/freebsd-13-stable/sbin/dhclient/ |
H A D | dhclient.c | 376 int pipe_fd[2]; local 502 if (pipe(pipe_fd) == -1) 505 fork_privchld(pipe_fd[0], pipe_fd[1]); 512 close(pipe_fd[0]); 513 privfd = pipe_fd[1];
|
Completed in 97 milliseconds