test_file_fwrite
ATF_REQUIRE(test_file_fwrite(pfile) == EBADF);
ATF_REQUIRE(test_file_fwrite(pfile) == 0);