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.50~pre5.
[syslinux-debian/hramrach.git]
/
com32
/
lib
/
snprintf.c
blob
c642851b2f976dd28a7ee19a0b6900604d122efb
1
/*
2
* snprintf.c
3
*/
4
5
#include <stdio.h>
6
7
int
snprintf
(
char
*
buffer
,
size_t
n
,
const char
*
format
, ...)
8
{
9
va_list
ap
;
10
int
rv
;
11
12
va_start
(
ap
,
format
);
13
rv
=
vsnprintf
(
buffer
,
n
,
format
,
ap
);
14
va_end
(
ap
);
15
return
rv
;
16
}