mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-04-20 09:57:01 +02:00
14 lines
239 B
C
14 lines
239 B
C
#include <stdio.h>
|
|
#include <fxlibc/printf.h>
|
|
|
|
int vdprintf(int fd, char const * restrict fmt, va_list args)
|
|
{
|
|
if(fd < 0) return -1;
|
|
|
|
struct __printf_output out = {
|
|
.fd = fd,
|
|
.size = 65536,
|
|
};
|
|
|
|
return __printf(&out, fmt, &args);
|
|
}
|