Commit | Line | Data |
---|---|---|
4f1e4ef8 KM |
1 | /* Copyright (c) 1979 Regents of the University of California */ |
2 | ||
86997b19 | 3 | static char sccsid[] = "@(#)TEOLN.c 1.3 %G%"; |
4f1e4ef8 KM |
4 | |
5 | #include "h00vars.h" | |
4f1e4ef8 | 6 | |
492cc5d3 | 7 | bool |
4f1e4ef8 KM |
8 | TEOLN(filep) |
9 | ||
10 | register struct iorec *filep; | |
11 | { | |
12 | if (filep->fblk >= MAXFILES || _actfile[filep->fblk] != filep) { | |
86997b19 | 13 | ERROR("Reference to an inactive file\n", 0); |
4f1e4ef8 KM |
14 | return; |
15 | } | |
16 | IOSYNC(filep); | |
17 | if (filep->funit & EOLN) | |
18 | return TRUE; | |
19 | return FALSE; | |
20 | } |