home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
fprintf.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-10-12
|
393 b
|
22 lines
#include <stdio.h>
#include <stdarg.h>
#include "lib.h"
/* revised 4/15/92 sb -- moved __eprintf to a separate file to avoid conflict
with libm.a's printf */
#if __STDC__
int fprintf(FILE *fp, const char *fmt, ...)
#else
int fprintf(fp, fmt) FILE *fp; const char *fmt;
#endif
{
int r;
va_list args;
va_start(args, fmt);
r = _doprnt(fputc, fp, fmt, args);
va_end(args);
return r;
}