Searched refs:fp2 (Results 1 – 2 of 2) sorted by relevance
254 FILE* fp2 = fdopen(pipe2[0], "r"); in TEST() local255 ASSERT_TRUE(fp2 != nullptr); in TEST()256 ASSERT_TRUE(fgets(buf2, sizeof(buf2), fp2) != nullptr); in TEST()257 fclose(fp2); in TEST()
2641 FILE* fp2 = fopen("/dev/zero", "r"); in TEST() local2642 ASSERT_TRUE(fp2 != nullptr); in TEST()2643 setvbuf(fp2, nullptr, mode, 0); in TEST()2644 ASSERT_EQ('\0', fgetc(fp2)); in TEST()2645 fclose(fp2); in TEST()