/* Copyright (c) 1979 Regents of the University of California */ static char sccsid[] = "@(#)LLIMIT.c 1.2 03/07/81"; #include "h00vars.h" #include "h01errs.h" LLIMIT(curfile, limit) register struct iorec *curfile; long limit; { if (limit <= 0) limit = 0x7fffffff; curfile->llimit = limit; if (curfile->lcount >= curfile->llimit) { ERROR(ELLIMIT, curfile->pfname); return; } }