Back to index

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

Go to the source code of this file.


int __isoc99_scanf (const char *format,...)

Function Documentation

int __isoc99_scanf ( const char *  format,

Definition at line 28 of file isoc99_scanf.c.

  va_list arg;
  int done;

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

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

  _IO_release_lock (stdin);
  return done;

Here is the call graph for this function: