Searched refs:fp_outp (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/mkmsgs/ |
H A D | mkmsgs.c | 119 FILE *fp_outp; /* output file FILE pointer */ local 244 if ((fp_outp = fopen(workp, "a+")) == NULL) { 278 if (fwrite(bufworkp, sizeof(*bufworkp), nitems, fp_outp) != nitems) { 285 (void)fclose(fp_outp); 289 if ((fp_outp = fopen(workp, "r")) == NULL) { 309 …if ( (fread(bufinp + sizeof(int) + num_msgs * sizeof(int), sizeof(*bufinp), buf.st_size, fp_outp))… 313 (void) fclose(fp_outp); 337 if ((fp_outp = fopen(outfilep, "w")) == NULL) { 346 if (fwrite((char *)bufinp, sizeof(*bufinp), size, fp_outp) != size) {
|