Back to index

glibc  2.9
Functions
isoc99_wscanf.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include <libioP.h>
#include <wchar.h>

Go to the source code of this file.

Functions

int __isoc99_wscanf (const wchar_t *format,...)

Function Documentation

int __isoc99_wscanf ( const wchar_t *  format,
  ... 
)

Definition at line 29 of file isoc99_wscanf.c.

{
  va_list arg;
  int done;

  _IO_acquire_lock_clear_flags2 (stdin);
  stdin->_flags2 |= _IO_FLAGS2_SCANF_STD;

  va_start (arg, format);
  done = _IO_vfwscanf (stdin, format, arg, NULL);
  va_end (arg);

  _IO_release_lock (stdin);
  return done;
}