/* Copyright (c) 1979 Regents of the University of California */
static char sccsid
[] = "@(#)GET.c 1.2 %G%";
register struct iorec
*curfile
;
if (curfile
->funit
& FWRITE
) {
ERROR("%s: Attempt to read, but open for writing\n",
if (curfile
->funit
& EOFF
) {
ERROR("%s: Tried to read past end of file\n", curfile
->pfname
);