Lines Matching defs:fp
55 FILE *fp;
62 if ((fp=fopen(filename,"r"))==NULL)
71 if (fread(buffer,1,info.st_size,fp)!=info.st_size)
84 (void)fclose(fp);
130 FILE *fp = fopen(argv[2], "w");
131 if(!fp) {
137 fwrite(argv[3], strlen(argv[3]), sizeof(char), fp);
144 fwrite(&crc16, 1, sizeof(short), fp); // first write CRC
146 fwrite(master, count, sizeof(char), fp); // write content
147 fclose(fp);