date and time created 82/01/18 19:21:15 by linton
[unix-history] / usr / src / usr.bin / pascal / libpc / READLN.c
... / ...
CommitLineData
1/* Copyright (c) 1979 Regents of the University of California */
2
3static char sccsid[] = "@(#)READLN.c 1.4 %G%";
4
5#include "h00vars.h"
6
7READLN(curfile)
8
9 register struct iorec *curfile;
10{
11 do {
12 IOSYNC(curfile);
13 curfile->funit |= SYNC;
14 } while ((curfile->funit & EOLN) == 0);
15}