vfprintf(), vprintf(), and vsprintf()

This is a file I/O function, also hardware dependent. It is not implemented in this Compiler.

Syntax
  #include <stdio.h>

  
  int vfprintf(FILE *f,

  
               const char *format,

  
               va_list args);

  
  int vprintf(const char *format, va_list args);

  
  int vsprintf(char *s, 

  
               const char *format,

  
               va_list args);

  
Description

These functions are the same as fprintf(), printf(), and sprintf(), except that they take a va_list instead of an open parameter list as argument.

For a detailed format description see sprintf().

Note: Only vsprintf() is implemented, because the other two functions depend on the actual setup and environment of the target.
Return

The number of characters written, if successful; a negative number otherwise.

See also

fprintf()

printf()

sprintf()

va_arg(), va_end(), and va_start()