Back to index

glibc  2.9
isoc99_fscanf.c File Reference
#include <libioP.h>
#include <stdarg.h>
#include <stdio.h>

Go to the source code of this file.


int __isoc99_fscanf (FILE *stream, const char *format,...)

Function Documentation

int __isoc99_fscanf ( FILE stream,
const char *  format,

Definition at line 26 of file isoc99_fscanf.c.

  va_list arg;
  int done;

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

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

  _IO_release_lock (stream);
  return done;

Here is the call graph for this function: