6 #define BUFFER_SIZE 4096
8 static void veprintf(const char *format
, va_list ap
)
11 char buffer
[BUFFER_SIZE
];
14 _rv
= rv
= vsnprintf(buffer
, BUFFER_SIZE
, format
, ap
);
19 if (rv
> BUFFER_SIZE
- 1)
26 _fwrite(buffer
, _rv
, stdout
);
29 void eprintf(const char *format
, ...)