NAME

zkVfprintf, zkVprintf, zkVsnprintf, zkVsprintf - format output of a stdarg argument list

 SYNOPSIS

#include "zkStdio.h"

int zkVfprintf(FILE* stream, const char* format, va_list ap);
int zkVprintf(const char* format, va_list ap);
int zkVsnprintf(char* s, size_t n, const char* format, va_list ap);
int zkVsprintf(char* s, const char* format, va_list ap);

DESCRIPTION

The zkVfprintf(), zkVprintf(), zkVsnprintf() and zkVsprintf() functions are the same as zkFprintf(), zkPrintf(), zkSnprintf() and zkSprintf() respectively, except that instead of being called with a variable number of arguments, they are called with an argument list as defined by <stdarg.h>.

 RETURN VALUE

Refer to zkFprintf().

 ERRORS

Refer to zkFprintf().

 EXAMPLES

None.

PORTABILITY

The zkVfprintf(), zkVprintf(), zkVsnprintf() and zkVsprintf() functions may or may not invoke the va_end macro, depending upon the implementation. The value of ap should be considered indeterminate after returning from one of these functions.