Searched refs:fp_outp (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/mkmsgs/ |
H A D | mkmsgs.c | 116 FILE *fp_outp; /* output file FILE pointer */ local 241 if ((fp_outp = fopen(workp, "a+")) == NULL) { 275 if (fwrite(bufworkp, sizeof(*bufworkp), nitems, fp_outp) != nitems) { 282 (void)fclose(fp_outp); 286 if ((fp_outp = fopen(workp, "r")) == NULL) { 306 …if ( (fread(bufinp + sizeof(int) + num_msgs * sizeof(int), sizeof(*bufinp), buf.st_size, fp_outp))… 310 (void) fclose(fp_outp); 334 if ((fp_outp = fopen(outfilep, "w")) == NULL) { 343 if (fwrite((char *)bufinp, sizeof(*bufinp), size, fp_outp) != size) {
|