1 /* Xfprintf --- extended formatted output to files.
2 Copyright (C) 1995, 1996 Christian von Roques */
17 xfprinter (void *f, const char *data, size_t len)
22 size_t n = fwrite (data, 1, togo, (FILE*)f);
33 xfprintf (FILE *F, const char *fmt, ...)
39 res = xvgprintf (xfprinter, F, fmt, args);
46 xvfprintf (FILE *F, const char *fmt, va_list args)
48 return xvgprintf (xfprinter, F, fmt, args);
53 xprintf (const char *fmt, ...)
59 res = xvgprintf (xfprinter, stdout, fmt, args);
65 xvprintf (const char *fmt, va_list args)
67 return xvgprintf (xfprinter, stdout, fmt, args);
70 #endif /* USE_PRINTF */