vscanf(3S) SDK R4.11 vscanf(3S)
NAME
vscanf, vfscanf, vsscanf - convert formatted input of a variable
argument list
SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int vscanf(const char *format, valist ap);
int vfscanf(FILE *stream, const char *format, valist ap);
int vsscanf(const char *s, const char *format, valist ap);
DESCRIPTION
vscanf, vfscanf and vsscanf are the same as scanf, fscanf, and sscanf
respectively, except that instead of being called with a variable
number of arguments, they are called with an argument list as defined
by the stdarg.h header file.
The stdarg.h header file defines the type valist and a set of macros
for advancing through a list of arguments whose number and types may
vary. [See stdarg(5)].
Errors
These functions return the number of matched patterns, or return OF
if an error was encountered.
REFERENCES
scanf(3S), stdarg(5), vfwscanf(3S)
Licensed material--property of copyright holder(s)