Searched refs:fd_rdonly (Results 1 – 1 of 1) sorted by relevance
918 int fd_rdonly = open("/dev/null", O_RDONLY); in TEST() local919 ASSERT_NE(-1, fd_rdonly); in TEST()925 ASSERT_NE(-1, dup2(fd_rdonly, fileno(fp))); in TEST()935 ASSERT_NE(-1, dup2(fd_rdonly, fileno(fp))); in TEST()