aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/ratlibc/putlin.c
blob: 0da6c4d9b6a3a1bceccf0e527e130e5557c16708 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
 */

#include "ratdef.h"

void PUTLIN(line, fd)
RCHAR *line;
FINT	*fd;
{
	register FILE *fp;
	register int c;

	fp = _fdtofile[*fd];
	while((c = *line++) != REOS)
		putc(c, fp);
}