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
Releasing debian version 4.06+dfsg-2.
[syslinux-debian/hramrach.git]
/
core
/
printf.c
blob
b1b0466b0377884c28ed1c2329d8eae56e6dfe3b
1
#include <stdio.h>
2
#include <unistd.h>
3
4
#include
"core.h"
5
6
int
printf
(
const char
*
format
, ...)
7
{
8
char
buf
[
1024
];
9
va_list
ap
;
10
int
rv
;
11
12
va_start
(
ap
,
format
);
13
rv
=
vsnprintf
(
buf
,
sizeof
buf
,
format
,
ap
);
14
va_end
(
ap
);
15
16
myputs
(
buf
);
17
18
return
rv
;
19
20
}