Back to index

glibc  2.9
isoc99_vswscanf.c File Reference
#include <libioP.h>
#include <wchar.h>
#include "../libio/strfile.h"

Go to the source code of this file.


int __isoc99_vswscanf (const wchar_t *string, const wchar_t *format, _IO_va_list args)

Function Documentation

int __isoc99_vswscanf ( const wchar_t *  string,
const wchar_t *  format,
_IO_va_list  args 

Definition at line 33 of file isoc99_vswscanf.c.

  int ret;
  _IO_strfile sf;
  struct _IO_wide_data wd;
#ifdef _IO_MTSAFE_IO
  sf._sbf._f._lock = NULL;
  _IO_no_init (&sf._sbf._f, _IO_USER_LOCK, 0, &wd, &_IO_wstr_jumps);
  _IO_fwide (&sf._sbf._f, 1);
  _IO_wstr_init_static (&sf._sbf._f, (wchar_t *)string, 0, NULL);
  sf._sbf._f._flags2 |= _IO_FLAGS2_SCANF_STD;
  ret = _IO_vfwscanf ((_IO_FILE *) &sf._sbf, format, args, NULL);
  return ret;

Here is the call graph for this function: