/* Copyright (c) 1979 Regents of the University of California */
static char sccsid
[] = "@(#)UNSYNC.c 1.2 %G%";
* push back last char read to prepare for formatted read
register struct iorec
*curfile
;
if (curfile
->funit
& FWRITE
) {
ERROR(EREADIT
, curfile
->pfname
);
if (curfile
->funit
& EOFF
) {
ERROR(EPASTEOF
, curfile
->pfname
);
if ((curfile
->funit
& SYNC
) == 0) {
ungetc(*curfile
->fileptr
, curfile
->fbuf
);