Next: Comparing NUL terminated Unicode strings, Previous: Length of a NUL terminated Unicode string, Up: Elementary string functions on NUL terminated strings [Contents][Index]
The following functions copy portions of Unicode strings in memory.
Copies src to dest.
This function is similar to strcpy
and wcscpy
, except
that it operates on Unicode strings.
Copies src to dest, returning the address of the terminating NUL in dest.
This function is similar to stpcpy
, except that it operates on
Unicode strings.
Copies no more than n units of src to dest.
This function is similar to strncpy
and wcsncpy
, except
that it operates on Unicode strings.
Copies no more than n units of src to dest. Returns a
pointer past the last non-NUL unit written into dest. In other words,
if the units written into dest include a NUL, the return value is the
address of the first such NUL unit, otherwise it is
dest + n
.
This function is similar to stpncpy
, except that it operates on
Unicode strings.
Appends src onto dest.
This function is similar to strcat
and wcscat
, except
that it operates on Unicode strings.
Appends no more than n units of src onto dest.
This function is similar to strncat
and wcsncat
, except
that it operates on Unicode strings.