/************************************************************* * File: lib/fprintf.c * Purpose: Part of C runtime library * Author: Phil Bunce (pjb@carmel.com) * Revision History: * 970304 Start of revision history */ #include #include /************************************************************* * fprintf(fp,fmt,va_alist) send formatted string to stream */ int fprintf(FILE *fp,const char *fmt,...) { va_list ap; int len; va_start(ap,fmt); len = vfprintf(fp,fmt,ap); va_end(ap); return(len); }