- /* TODO: This function should interpret format as multibyte characters. */
- struct _PDCLIB_status_t status;
- status.base = 0;
- status.flags = 0;
- status.n = SIZE_MAX;
- status.i = 0;
- status.current = 0;
- status.s = NULL;
- status.width = 0;
- status.prec = 0;
- status.stream = stream;
- va_copy( status.arg, arg );
+ return _PDCLIB_fwrite_unlocked( buf, 1, size, (FILE*) p );
+}
+
+int _PDCLIB_vfprintf_unlocked( FILE * _PDCLIB_restrict stream,
+ const char * _PDCLIB_restrict format,
+ va_list arg )
+{
+ return _vcbprintf(stream, filecb, format, arg);
+}