2.9BSD/usr/src/lib/c/stdio/fputs.c

Compare this file to the similar file:
Show the results in this format:

/*	@(#)fputs.c	2.1	SCCS id keyword	*/
#include	<stdio.h>

fputs(s, iop)
register char *s;
register FILE *iop;
{
	register r;
	register c;

	while (c = *s++)
		r = putc(c, iop);
	return(r);
}