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/] [mbsrtowcs.c] - Blame information for rev 297

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
#include <stdlib.h>
5
#include <stdio.h>
6
#include <errno.h>
7
 
8
size_t
9
_DEFUN (_mbsrtowcs_r, (r, dst, src, len, ps),
10
        struct _reent *r _AND
11
        wchar_t *dst _AND
12
        const char **src _AND
13
        size_t len _AND
14
        mbstate_t *ps)
15
{
16
  return _mbsnrtowcs_r (r, dst, src, (size_t) -1, len, ps);
17
}
18
 
19
#ifndef _REENT_ONLY
20
size_t
21
_DEFUN (mbsrtowcs, (dst, src, len, ps),
22
        wchar_t *dst _AND
23
        const char **src _AND
24
        size_t len _AND
25
        mbstate_t *ps)
26
{
27
  return _mbsnrtowcs_r (_REENT, dst, src, (size_t) -1, len, ps);
28
}
29
#endif /* !_REENT_ONLY */

powered by: WebSVN 2.1.0

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