WCSLCPY(3) NEWLIB WCSLCPY(3)NAME
7.15 `wcslcpy'--copy a wide-character string to specified length
SYNOPSIS
#include <wchar.h>
size_t wcslcpy(wchar_t *DST, const wchar_t *SRC, size_t SIZ);
DESCRIPTION
`wcslcpy' copies wide characters from SRC to DST such that up to SIZ -
1 characters are copied. A terminating null is appended to the result,
unless SIZ is zero.
RETURNS
`wcslcpy' returns the number of wide characters in SRC, not including
the terminating null wide character. If the return value is greater
than or equal to SIZ, then not all wide characters were copied from SRC
and truncation occurred.
PORTABILITY
No supporting OS subroutines are required.
SEE ALSOwcslcpy is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 WCSLCPY(3)