Annotation of 40BSD/lib/libpc/TEOLN.c, revision 1.1

1.1     ! root        1: /* Copyright (c) 1979 Regents of the University of California */
        !             2: 
        !             3: static char sccsid[] = "@(#)TEOLN.c 1.1 10/29/80";
        !             4: 
        !             5: #include "h00vars.h"
        !             6: #include "h01errs.h"
        !             7: 
        !             8: TEOLN(filep)
        !             9: 
        !            10:        register struct iorec   *filep;
        !            11: {
        !            12:        if (filep->fblk >= MAXFILES || _actfile[filep->fblk] != filep) {
        !            13:                ERROR(ENOFILE, 0);
        !            14:                return;
        !            15:        }
        !            16:        IOSYNC(filep);
        !            17:        if (filep->funit & EOLN)
        !            18:                return TRUE;
        !            19:        return FALSE;
        !            20: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.