Searched refs:fd_rdonly (Results 1 – 1 of 1) sorted by relevance
971 int fd_rdonly = open("/dev/null", O_RDONLY); in TEST() local972 ASSERT_NE(-1, fd_rdonly); in TEST()978 ASSERT_NE(-1, dup2(fd_rdonly, fileno(fp))); in TEST()988 ASSERT_NE(-1, dup2(fd_rdonly, fileno(fp))); in TEST()