Back to index

glibc  2.9
iovdprintf.c File Reference
#include <libioP.h>
#include <stdio_ext.h>

Go to the source code of this file.


int _IO_vdprintf (int d, const char *format, _IO_va_list arg)

Function Documentation

int _IO_vdprintf ( int  d,
const char *  format,
_IO_va_list  arg 

Definition at line 33 of file iovdprintf.c.

  struct _IO_FILE_plus tmpfil;
  struct _IO_wide_data wd;
  int done;

#ifdef _IO_MTSAFE_IO
  tmpfil.file._lock = NULL;
  _IO_no_init (&tmpfil.file, _IO_USER_LOCK, 0, &wd, &_IO_wfile_jumps);
  _IO_JUMPS (&tmpfil) = &_IO_file_jumps;
  INTUSE(_IO_file_init) (&tmpfil);
  tmpfil.vtable = NULL;
  if (INTUSE(_IO_file_attach) (&tmpfil.file, d) == NULL)
      INTUSE(_IO_un_link) (&tmpfil);
      return EOF;
  tmpfil.file._IO_file_flags =
    (_IO_mask_flags (&tmpfil.file, _IO_NO_READS,

  done = INTUSE(_IO_vfprintf) (&tmpfil.file, format, arg);

  _IO_FINISH (&tmpfil.file);

  return done;

Here is the call graph for this function:

Here is the caller graph for this function: