git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
da3ca0c8d6b7cde09148f2e3fe061b98af91a4ba
[reactos.git]
/
lib
/
msvcrt
/
conio
/
cprintf.c
1
#include <msvcrt/stdio.h>
2
#include <msvcrt/conio.h>
3
4
int
5
_cprintf(const char *fmt, ...)
6
{
7
int cnt;
8
char buf[ 2048 ]; /* this is buggy, because buffer might be too small. */
9
va_list ap;
10
11
va_start(ap, fmt);
12
cnt = vsprintf(buf, fmt, ap);
13
va_end(ap);
14
15
_cputs(buf);
16
return cnt;
17
}