strlcpy

#include <string.h>

size_t strlcpy ( char * dst, const char * src, size_t siz )

Return Value

The strlcpy function returns strlen(src). If retval >= siz, truncation occurred.

Parameter

dst Null-terminated destination string

src Null-terminated source string

siz Size of destination string

Remarks

Copy a string.

Copy src to string dst of size siz. At most siz-1 characters will be copied. Always NULL terminates (unless siz == 0).

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)