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