Lines Matching refs:fp
40 FILE *fp = fopen(realPath, "rb+");
43 if (fp != NULL) {
44 size_t writeLen = fwrite(boot, sizeof(struct RBMiscUpdateMessage), 1, fp);
46 (void)fclose(fp);
55 FILE *fp = NULL;
58 fp = fopen(realPath, "rb");
62 fp = fopen(path, "rb");
64 if (fp != NULL) {
65 size_t readLen = fread(boot, 1, sizeof(struct RBMiscUpdateMessage), fp);
66 (void)fclose(fp);