HPlogo HP-UX Reference Volume 4 of 5 > v

vscanf(3S)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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 *format, va_list ap); int vfscanf(FILE *stream, const char *format, va_list ap); int vsscanf(char *s, const char *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).

APPLICATION USAGE

vscanf(), vfscanf() and vsscanf() are thread-safe. These interfaces are not async-cancel-safe. A cancellation point may occur when a thread is executing vscanf() or vfscanf().

© Hewlett-Packard Development Company, L.P.