/* Copyright (c) 1979 Regents of the University of California */
static char sccsid
[] = "@(#)WRITEC.c 1.1 %G%";
register struct iorec
*curfile
;
if (curfile
->funit
& FREAD
) {
ERROR(EWRITEIT
, curfile
->pfname
);
if (ferror(curfile
->fbuf
)) {
ERROR(EWRITE
, curfile
->pfname
);