Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > V

vwscanf(3S)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

vwscanf(), vfwscanf(), vswscanf() — convert formatted wide-character input of a stdarg argument list

SYNOPSIS

#include <stdarg.h> #include <stdio.h> #include <wchar.h> int vwscanf(const wchar_t *__restrict format, va_list ap); int vfwscanf(FILE *__restrict stream, const wchar_t *__restrict format, va_list ap); int vswscanf(wchar_t *__restrict ws, const wchar_t *__restrict format, va_list ap);

DESCRIPTION

The vwscanf(), vfwscanf(), and vswscanf() functions are equivalent to the wscanf(), fwscanf(), and swscanf() functions respectively, except that instead of being called with a variable number of arguments, they are called with an argument list pointer ap of type va_list as defined by <stdarg.h>.

These functions do not invoke the va_end macro. However, since these functions invoke the va_arg macro, the value of ap after the return is indeterminate.

APPLICATION USAGE

Applications using these functions should call va_end afterwards to clean up.

AUTHOR

vwscanf(), vfwscanf(), and vswscanf() were developed by HP.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.