mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 04:23:38 +01:00
stdio: enable dprintf() and vdprintf()
This commit is contained in:
parent
3046304497
commit
b53078776d
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
#include <ctype.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <fxlibc/printf.h>
|
||||
|
||||
/* Internal buffer, used when no buffer is specified for output */
|
||||
|
@ -111,7 +112,7 @@ void __printf_flush(struct __printf_output *out)
|
|||
/* File pointer: output with write */
|
||||
else if(out->fd)
|
||||
{
|
||||
// write(fd, out->buffer, out->ptr - out->buffer);
|
||||
write(out->fd, out->buffer, out->ptr - out->buffer);
|
||||
}
|
||||
|
||||
/* Switch to the internal buffer (when writing to a string that string
|
||||
|
|
Loading…
Reference in a new issue