syslinux/com32/lib/sprintf.c
<<
>>
Prefs
   1/*
   2 * sprintf.c
   3 */
   4
   5#include <stdio.h>
   6#include <unistd.h>
   7
   8int sprintf(char *buffer, const char *format, ...)
   9{
  10    va_list ap;
  11    int rv;
  12
  13    va_start(ap, format);
  14    rv = vsnprintf(buffer, ~(size_t) 0, format, ap);
  15    va_end(ap);
  16
  17    return rv;
  18}
  19
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.