Back to index

glibc  2.9
wmemcpy_chk.c File Reference
#include <wchar.h>
#include <string.h>

Go to the source code of this file.


wchar_t * __wmemcpy_chk (wchar_t *s1, const wchar_t *s2, size_t n, size_t ns1)

Function Documentation

wchar_t* __wmemcpy_chk ( wchar_t *  s1,
const wchar_t *  s2,
size_t  n,
size_t  ns1 

Definition at line 25 of file wmemcpy_chk.c.

  if (__builtin_expect (ns1 < n, 0))
    __chk_fail ();
  return (wchar_t *) memcpy ((char *) s1, (char *) s2, n * sizeof (wchar_t));

Here is the call graph for this function:

Here is the caller graph for this function: