cp_string_len(3) - Linux man page

Name

cp_string_len - return the length of a cp_string

Synopsis

#include <cprops/str.h>

int cp_string_len(cp_string *str);

Description

returns the length of the given string. Since the cp_string structure keeps track of the internal buffer's used length, this is an O(1) operation.

Return Value

the length of the given string.