Back to index

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

Go to the source code of this file.


wchar_t * __wcpncpy_chk (wchar_t *dest, const wchar_t *src, size_t n, size_t destlen)

Function Documentation

wchar_t* __wcpncpy_chk ( wchar_t *  dest,
const wchar_t *  src,
size_t  n,
size_t  destlen 

Definition at line 25 of file wcpncpy_chk.c.

  if (__builtin_expect (destlen < n, 0))
    __chk_fail ();

  /* This function is not often enough used to justify not using a
     tail call.  */
  return __wcpncpy (dest, src, n);

Here is the call graph for this function: