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

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

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

fprintf(iop, fmt, args)
FILE *iop;
char *fmt;
{
	_doprnt(fmt, &args, iop);
	return(ferror(iop)? EOF: 0);
}