Lines Matching defs:fp
65 FILE *fp;
72 if ((fp=fopen(filename,"r"))==NULL)
81 if (fread(buffer,1,info.st_size,fp)!=info.st_size)
94 (void)fclose(fp);
115 FILE *fp = fopen(argv[1], "a");
116 if(!fp) {
124 fwrite(PidDataDE, sizeof(PidDataDE), sizeof(char), fp); /* write DE pid */
126 fwrite(PidDataNA, sizeof(PidDataNA), sizeof(char), fp); /* write NA pid */
128 fwrite(PidDataWW, sizeof(PidDataWW), sizeof(char), fp); /* write WW pid */
131 fwrite(PidDataWW, sizeof(PidDataWW), sizeof(char), fp); /* write WW pid if unspecified */
133 fclose(fp);
158 fp = fopen(argv[1], "a");
159 if(!fp) {
163 fwrite(sumbuf, 8, sizeof(char), fp);
164 fclose(fp);