Searched defs:m_fd (Results 1 - 3 of 3) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dprocess.h54 int m_fd; member in struct:atf_process_stream
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...]
/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 1172 milliseconds