Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fprintf(3)

stdarg(3)

VPRINTF(3S)  —  UNIX Programmer’s Manual

NAME

vfprintf, vprintf, vsprintf −

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)
 

ANSI C  —  June 23, 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026