diff options
Diffstat (limited to 'com32/lib/dprintf.c')
-rw-r--r-- | com32/lib/dprintf.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/com32/lib/dprintf.c b/com32/lib/dprintf.c new file mode 100644 index 00000000..96170237 --- /dev/null +++ b/com32/lib/dprintf.c @@ -0,0 +1,17 @@ +/* + * dprintf.c + */ + +#include <stdio.h> +#include <stdarg.h> + +int dprintf(const char *format, ...) +{ + va_list ap; + int rv; + + va_start(ap, format); + rv = vdprintf(stdout, format, ap); + va_end(ap); + return rv; +} |