Searched refs:fd_rdonly (Results 1 – 1 of 1) sorted by relevance
912 int fd_rdonly = open("/dev/null", O_RDONLY); in TEST() local913 ASSERT_NE(-1, fd_rdonly); in TEST()919 ASSERT_NE(-1, dup2(fd_rdonly, fileno(fp))); in TEST()929 ASSERT_NE(-1, dup2(fd_rdonly, fileno(fp))); in TEST()