repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
stdio
/
ssputws_r.c
blob
07ceba800eb170597b67e4fe749a9f1c06bdc1e9
1
#include <newlib.h>
2
3
#ifndef _FVWRITE_IN_STREAMIO
4
5
#include <reent.h>
6
#include <stdio.h>
7
#include <wchar.h>
8
9
extern
int
__ssputs_r
(
struct
_reent
*
ptr
,
FILE
*
fp
,
const char
*
buf
,
10
size_t
len
);
11
12
int
13
__ssputws_r
(
struct
_reent
*
ptr
,
14
FILE
*
fp
,
15
const wchar_t
*
buf
,
16
size_t
len
)
17
{
18
return
__ssputs_r
(
ptr
,
fp
, (
const char
*)
buf
,
len
*
sizeof
(
wchar_t
));
19
}
20
21
#endif