xref: /csrg-svn/usr.bin/pascal/libpc/READLN.c (revision 62096)
140865Sbostic /*-
2*62096Sbostic  * Copyright (c) 1979, 1993
3*62096Sbostic  *	The Regents of the University of California.  All rights reserved.
440865Sbostic  *
540865Sbostic  * %sccs.include.redist.c%
640865Sbostic  */
71683Smckusick 
840865Sbostic #ifndef lint
9*62096Sbostic static char sccsid[] = "@(#)READLN.c	8.1 (Berkeley) 06/06/93";
1040865Sbostic #endif /* not lint */
111683Smckusick 
121683Smckusick #include "h00vars.h"
131683Smckusick 
READLN(curfile)141683Smckusick READLN(curfile)
151683Smckusick 
161683Smckusick 	register struct iorec	*curfile;
171683Smckusick {
182233Smckusic 	do	{
192233Smckusic 		IOSYNC(curfile);
202233Smckusic 		curfile->funit |= SYNC;
212233Smckusic 	} while ((curfile->funit & EOLN) == 0);
221683Smckusick }
23