repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding upstream version 3.35.
[syslinux-debian/hramrach.git]
/
com32
/
lib
/
sprintf.c
blob
31f28af0054bd0379ecc2f2362f639790979c190
1
/*
2
* sprintf.c
3
*/
4
5
#include <stdio.h>
6
#include <unistd.h>
7
8
int
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
}