Back to index

glibc  2.9
iovsprintf.c File Reference
#include "libioP.h"
#include "strfile.h"

Go to the source code of this file.


int __IO_vsprintf (char *string, const char *format, _IO_va_list args)

Function Documentation

int __IO_vsprintf ( char *  string,
const char *  format,
_IO_va_list  args 

Definition at line 32 of file iovsprintf.c.

  _IO_strfile sf;
  int ret;

#ifdef _IO_MTSAFE_IO
  sf._sbf._f._lock = NULL;
  _IO_no_init (&sf._sbf._f, _IO_USER_LOCK, -1, NULL, NULL);
  _IO_JUMPS ((struct _IO_FILE_plus *) &sf._sbf) = &_IO_str_jumps;
  _IO_str_init_static_internal (&sf, string, -1, string);
  ret = INTUSE(_IO_vfprintf) ((_IO_FILE *) &sf._sbf, format, args);
  _IO_putc_unlocked ('\0', (_IO_FILE *) &sf._sbf);
  return ret;

Here is the call graph for this function: