#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.
ANSI, POSIX
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.