Str.stpcpy

Copies a nul-terminated string into the dest buffer, include the trailing nul, and return a pointer to the trailing nul byte. This is useful for concatenating multiple strings together without having to repeatedly scan for the end.

struct Str
static
string
stpcpy
(
string dest
,
string src
)

Parameters

dest string

destination buffer.

src string

source string.

Return Value

Type: string

a pointer to trailing nul byte.