|
|
1.1 root 1: /* Copyright (c) 1979 Regents of the University of California */
2:
3: static char sccsid[] = "@(#)TEOF.c 1.3 6/10/81";
4:
5: #include "h00vars.h"
6:
7: bool
8: TEOF(filep)
9:
10: register struct iorec *filep;
11: {
12: if (filep->fblk >= MAXFILES || _actfile[filep->fblk] != filep) {
13: ERROR("Reference to an inactive file\n", 0);
14: return;
15: }
16: if (filep->funit & EOFF)
17: return TRUE;
18: IOSYNC(filep);
19: if (filep->funit & EOFF)
20: return TRUE;
21: return FALSE;
22: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.