Searched refs:stderr_fd (Results 1 – 1 of 1) sorted by relevance
948 int stderr_fd[2]; in main() local951 if (!g_unix_open_pipe(stderr_fd, FD_CLOEXEC, &err)) { in main()967 close(stderr_fd[0]); in main()983 if (dup2(stderr_fd[1], STDERR_FILENO) < 0) { in main()993 ret = write(stderr_fd[1], str, strlen(str)); in main()1003 close(stderr_fd[1]); in main()1011 close(stderr_fd[1]); in main()1013 while ((ret = read(stderr_fd[0], buf, 1024)) > 0) { in main()