Searched refs:fp2 (Results 1 – 2 of 2) sorted by relevance
261 FILE* fp2 = fdopen(pipe2[0], "r"); in TEST() local262 ASSERT_TRUE(fp2 != nullptr); in TEST()263 ASSERT_TRUE(fgets(buf2, sizeof(buf2), fp2) != nullptr); in TEST()264 fclose(fp2); in TEST()
2770 FILE* fp2 = fopen("/dev/zero", "r"); in TEST() local2771 ASSERT_TRUE(fp2 != nullptr); in TEST()2772 setvbuf(fp2, nullptr, mode, 0); in TEST()2773 ASSERT_EQ('\0', fgetc(fp2)); in TEST()2774 fclose(fp2); in TEST()