up | Inhaltsverzeichniss | Kommentar

Manual page for VPRINTF(3S)

vfprintf, vprintf, vsprintf - formatted output conversion

SYNOPSIS

#include <stdarg.h>
#include <stdio.h>

int vfprintf(FILE *stream, const char *format, va_list arg);

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

int vsprintf(char *s, const char *format, va_list arg);

DESCRIPTION

Vfprintf is equivalent to fprintf, vprintf is equivalent to printf, and vsprintf is equivalent to sprintf, with the variable argument list replaced in each case by arg, which has been initialized by the va_start macro (and possibly by subsequent va_arg calls). The vfprintf function does not invoke the va_end macro.

RETURN VALUE

Vfprintf, vprintf, and vsprintf return the number of characters transmitted, or a negative value if an output error occurred.

SEE ALSO

fprintf(3), stdarg(3)


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97