Back to index

tetex-bin  3.0
Functions
my-snprintf.c File Reference
#include <string.h>
#include <stdio.h>
#include "xdvi-config.h"
#include "xdvi.h"
#include "my-vsnprintf.h"
#include "my-snprintf.h"

Go to the source code of this file.

Functions

int my_snprintf (char *str, size_t size, const char *format,...)

Function Documentation

int my_snprintf ( char *  str,
size_t  size,
const char *  format,
  ... 
)

Definition at line 48 of file my-snprintf.c.

{
  va_list args;
  int retVal;

  va_start(args, format);
  retVal = VSNPRINTF(str, size, format, args);
  va_end(args);

  return retVal;
}