projects
/
profile
/
ivi
/
syslinux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
pxe: allow TFTP server IP to be empty when not using TFTP
[profile/ivi/syslinux.git]
/
core
/
printf.c
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
}