vscanf.3s (2010 09)
v
vscanf(3S) vscanf(3S)
NAME
vscanf(), vfscanf(), vsscanf() - formatted input conversion to a varargs argument list, read from stream file
SYNOPSIS
#include <stdio.h>
#include <varargs.h>
int vscanf(const char *__restrict format, va_list ap);
int vfscanf(FILE *__restrict stream, const char *__restrict format,
va_list ap);
int vsscanf(char *__restrict s, const char *__restrict format,
va_list 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 varargs (5).
SEE ALSO
scanf(3S), setlocale(3C), thread_safety(5), varargs(5).
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1