Function glib::functions::stpcpy[][src]

pub fn stpcpy(dest: &str, src: &str) -> GString
Expand description

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.

dest

destination buffer.

src

source string.

Returns

a pointer to trailing nul byte.