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