Searched refs:m_fd (Results 1 - 4 of 4) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dprocess_test.c176 int m_fd; member in struct:connect_stream
194 s->m_fd = open("stdout", O_WRONLY | O_CREAT | O_TRUNC, 0644);
198 s->m_fd = open("stderr", O_WRONLY | O_CREAT | O_TRUNC, 0644);
204 ATF_REQUIRE(s->m_fd != -1);
207 RE(atf_process_stream_init_connect(&s->m_base.m_sb, src_fd, s->m_fd));
216 ATF_REQUIRE(close(s->m_fd) != -1);
225 int m_fd; member in struct:inherit_stream
247 s->m_fd = STDOUT_FILENO;
251 s->m_fd = STDERR_FILENO;
259 s->m_old_fd = dup(s->m_fd);
307 int m_fd; member in struct:redirect_fd_stream
[all...]
H A Dprocess.h54 int m_fd; member in struct:atf_process_stream
H A Dprocess.c156 sb->m_fd = fd;
350 err = safe_dup(sp->m_sb->m_fd, procfd);
/bind-9.6-ESV-R11/unit/atf-src/atf-sh/
H A Datf-check.cpp112 int m_fd; member in class:__anon236::temp_file
117 m_fd(-1)
122 m_fd = ::mkstemp(buf.get());
123 if (m_fd == -1)
150 if (::write(m_fd, text.c_str(), text.size()) == -1)
157 if (m_fd != -1) {
159 ::close(m_fd);
160 m_fd = -1;

Completed in 17 milliseconds