cp_string_reset(3)

cp_string(3) cp_string cp_string(3)

NAME

cp_string_reset - reset a cp_string structure

SYNOPSIS

#include <cprops/str.h>

void cp_string_reset(cp_string *str);

DESCRIPTION

cp_string_reset reallocates memory in a cp_string's internal buffer to an empty string and resets the length to zero.

MARCH 2006 libcprops