cp_string_cstrcpy(3) - Linux man page

Name

cp_string_cstrcpy - copy a null terminated string to a cp_string

Synopsis

#include <cprops/str.h>

cp_string *cp_string_cstrcpy(cp_string *dst, char *src);

Description

cp_string_cstrcpy copies the null terminated string pointed at by src onto dst. If necessary the internal buffer of the destination string is reallocated to accomodate for the source string including the terminating null.

Return Value

the dst parameter on success or NULL on failure.

See Also

cp_string_cpy(3), cp_string_cstrdup(3)