Back to index

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

Go to the source code of this file.


int __vfwprintf_chk (FILE *fp, int flag, const wchar_t *format, va_list ap)

Function Documentation

int __vfwprintf_chk ( FILE fp,
int  flag,
const wchar_t *  format,
va_list  ap 

Definition at line 27 of file vfwprintf_chk.c.

  int done;

  _IO_acquire_lock_clear_flags2 (fp);
  if (flag > 0)
    fp->_flags2 |= _IO_FLAGS2_FORTIFY;

  done = _IO_vfwprintf (fp, format, ap);

  if (flag > 0)
    fp->_flags2 &= ~_IO_FLAGS2_FORTIFY;
  _IO_release_lock (fp);

  return done;

Here is the caller graph for this function: