Back to index

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

Go to the source code of this file.


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

Function Documentation

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

Definition at line 25 of file wmempcpy_chk.c.

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

Here is the call graph for this function: