| www.delorie.com/djgpp/doc/libc-2.01/libc_674.html | search |
#include <stdio.h> #include <stdarg.h> int vfprintf(FILE *file, const char *format, va_list arguments);
Sends formatted output from the arguments to the file. See section printf.
The number of characters written.
void my_errmsg(char *format, ...)
{
va_list arg;
va_start(arg, format);
fprintf(stderr, "my_errmsg: ");
vfprintf(stderr, format, arg);
va_end(arg);
}
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |