4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-02 12:30:24 +08:00

22 lines
370 B
C
Raw Normal View History

#include <newlib.h>
#ifndef _FVWRITE_IN_STREAMIO
#include <reent.h>
#include <stdio.h>
#include <wchar.h>
extern int __ssputs_r (struct _reent *ptr, FILE *fp, const char *buf,
size_t len);
int
__ssputws_r (struct _reent *ptr,
FILE *fp,
const wchar_t *buf,
size_t len)
{
return __ssputs_r (ptr, fp, (const char *) buf, len * sizeof (wchar_t));
}
#endif