]> git.sur5r.net Git - cc65/blob - libsrc/common/cprintf.c
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / libsrc / common / cprintf.c
1 /*
2  * cprintf.c
3  *
4  * Ullrich von Bassewitz. 11.08.1998
5  */
6
7
8
9 #include <stdarg.h>
10 #include <conio.h>
11
12
13
14 int cprintf (char* format, ...)
15 {
16     va_list ap;
17     va_start (ap, format);
18
19     /* Do formatting and output. Since we know, that va_end is empty, we don't
20      * call it here, saving an extra variable and some code.
21      */
22     return vcprintf ((char*) va_fix (ap, 1), ap);
23 }
24
25
26