1: /* Copyright (c) 1979 Regents of the University of California */
2:
3: static char sccsid[] = "@(#)WRITEF.c 1.4 6/10/81";
4:
5: #include "h00vars.h"
6:
7: WRITEF(curfile, d1, d2, d3, d4, d5, d6, d7, d8)
8:
9: register struct iorec *curfile;
10: FILE *d1;
11: char *d2;
12: int d3, d4, d5, d6, d7, d8;
13: {
14: if (curfile->funit & FREAD) {
15: ERROR("%s: Attempt to write, but open for reading\n",
16: curfile->pfname);
17: return;
18: }
19: fprintf(d1, d2, d3, d4, d5, d6, d7, d8);
20: if (ferror(curfile->fbuf)) {
21: PERROR("Could not write to ", curfile->pfname);
22: return;
23: }
24: }
Defined functions
WRITEF
defined in line
7; used 1 times
Defined variables
sccsid
defined in line
3;
never used