1 /* Xfprintf --- extended formatted output to files.
2 Copyright (C) 1995, 1996 Christian von Roques */
15 xfprinter (void *f, const char *data, size_t len)
20 size_t n = fwrite (data, 1, togo, (FILE*)f);
32 xfprintf (FILE *F, const char *fmt, ...)
38 res = xvgprintf (xfprinter, F, fmt, args);
45 xvfprintf (FILE *F, const char *fmt, va_list args)
47 return xvgprintf (xfprinter, F, fmt, args);
52 xprintf (const char *fmt, ...)
58 res = xvgprintf (xfprinter, stdout, fmt, args);
64 xvprintf (const char *fmt, va_list args)
66 return xvgprintf (xfprinter, stdout, fmt, args);
69 #endif /* USE_PRINTF */