Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ssputws_r.c « stdio « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 07ceba800eb170597b67e4fe749a9f1c06bdc1e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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