Lines Matching refs:stderr_file
495 uv_file stderr_file;
502 unlink("stderr_file");
518 /* open 'stderr_file' and replace STDERR_FILENO with it */
519 r = uv_fs_open(NULL, &fs_req, "stderr_file", O_CREAT | O_RDWR,
523 stderr_file = dup2(r, STDERR_FILENO);
524 ASSERT_NE(stderr_file, -1);
527 * stderr_file and vice versa */
531 options.stdio[1].data.fd = stderr_file;
559 /* check the content of stderr_file */
560 r = uv_fs_read(NULL, &fs_req, stderr_file, &buf, 1, 0, NULL);
564 r = uv_fs_close(NULL, &fs_req, stderr_file, NULL);
573 unlink("stderr_file");