source: bootcd/isolinux/syslinux-6.03/com32/lib/sprintf.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 256 bytes
Line 
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}
Note: See TracBrowser for help on using the repository browser.