Back to index

glibc  2.9
mbsrtowcs_chk.c File Reference
#include <locale.h>
#include <wchar.h>

Go to the source code of this file.


size_t __mbsrtowcs_chk (wchar_t *dst, __const char **src, size_t len, mbstate_t *ps, size_t dstlen)

Function Documentation

size_t __mbsrtowcs_chk ( wchar_t *  dst,
__const char **  src,
size_t  len,
mbstate_t ps,
size_t  dstlen 

Definition at line 24 of file mbsrtowcs_chk.c.

  if (__builtin_expect (dstlen < len, 0))
    __chk_fail ();

  return __mbsrtowcs (dst, src, len, ps);

Here is the call graph for this function:

Here is the caller graph for this function: