OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [stdlib/] [wcsrtombs.c] - Blame information for rev 258

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include <reent.h>
2
#include <newlib.h>
3
#include <wchar.h>
4
 
5
size_t
6
_DEFUN (_wcsrtombs_r, (r, dst, src, len, ps),
7
        struct _reent *r _AND
8
        char *dst _AND
9
        const wchar_t **src _AND
10
        size_t len _AND
11
        mbstate_t *ps)
12
{
13
  return _wcsnrtombs_r (r, dst, src, (size_t) -1, len, ps);
14
}
15
 
16
#ifndef _REENT_ONLY
17
size_t
18
_DEFUN (wcsrtombs, (dst, src, len, ps),
19
        char *dst _AND
20
        const wchar_t **src _AND
21
        size_t len _AND
22
        mbstate_t *ps)
23
{
24
  return _wcsnrtombs_r (_REENT, dst, src, (size_t) -1, len, ps);
25
}
26
#endif /* !_REENT_ONLY */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.