repo.or.cz
/
syslinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dmi: check both the AC and ID flags at the same time
[syslinux.git]
/
com32
/
lib
/
sprintf.c
blob
d00274e02805870ac4290c1f18575915ab40ce5e
1
/*
2
* sprintf.c
3
*/
4
5
#include <stdio.h>
6
#include <unistd.h>
7
#include <limits.h>
8
9
int
sprintf
(
char
*
buffer
,
const char
*
format
, ...)
10
{
11
va_list
ap
;
12
int
rv
;
13
14
va_start
(
ap
,
format
);
15
rv
=
vsnprintf
(
buffer
,
INT_MAX
,
format
,
ap
);
16
va_end
(
ap
);
17
18
return
rv
;
19
}