panthema / 2006 / SDIOS06 / sdios06 / lib / libc / snprintf.c (Download File)
#include <stdarg.h>
#include <sys/types.h>
#include <stdio.h>

int snprintf(char *str,size_t size,const char *format,...)
{
  int n;
  va_list arg_ptr;
  va_start(arg_ptr, format);
  n=vsnprintf(str,size,format,arg_ptr);
  va_end (arg_ptr);
  return n;
}
RSS 2.0 Weblog Feed Atom 1.0 Weblog Feed Valid XHTML 1.1 Valid CSS (2.1)
Copyright 2005-2014 Timo Bingmann - Impressum