Example #1
0
void bfs_vwarning(const struct cmdline *cmdline, const char *format, va_list args) {
	int error = errno;

	bfs_warning_prefix(cmdline);

	errno = error;
	cvfprintf(cmdline->cerr, format, args);
}
Example #2
0
int cfprintf(FILE *stream, int color, const char *fmt, ...)
{
	va_list args;
	va_start(args, fmt);
	int ret = cvfprintf(stream, color, fmt, args);
	va_end(args);
	
	return ret;
}