Back to index

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

Go to the source code of this file.

Functions

int __isoc99_fwscanf (FILE *stream, const wchar_t *format,...)

Function Documentation

int __isoc99_fwscanf ( FILE stream,
const wchar_t *  format,
  ... 
)

Definition at line 27 of file isoc99_fwscanf.c.

{
  va_list arg;
  int done;

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

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

  _IO_release_lock (stream);
  return done;
}