Searched refs:stderr_pipe (Results 1 – 1 of 1) sorted by relevance
1588 int stderr_pipe[2] = { -1, -1 }; in g_test_trap_fork() local1591 if (pipe (stdout_pipe) < 0 || pipe (stderr_pipe) < 0 || pipe (stdtst_pipe) < 0) in g_test_trap_fork()1601 close (stderr_pipe[0]); in g_test_trap_fork()1605 …if (sane_dup2 (stdout_pipe[1], 1) < 0 || sane_dup2 (stderr_pipe[1], 2) < 0 || (fd0 >= 0 && sane_du… in g_test_trap_fork()1611 if (stderr_pipe[1] >= 3) in g_test_trap_fork()1612 close (stderr_pipe[1]); in g_test_trap_fork()1624 close (stderr_pipe[1]); in g_test_trap_fork()1628 while (stdout_pipe[0] >= 0 || stderr_pipe[0] >= 0 || stdtst_pipe[0] > 0) in g_test_trap_fork()1636 if (stderr_pipe[0] >= 0) in g_test_trap_fork()1637 FD_SET (stderr_pipe[0], &fds); in g_test_trap_fork()[all …]