cstring · Section 3
cstring_length
NAME
cstring_length - return the number of characters in the string
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cstring.h> size_t cstring_length(cstr s);
DESCRIPTION
This function returns the number of characters stored in the string, without the terminating null byte.
PARAMETERS
s String to query
RETURN VALUE
The length in bytes, without the null terminator
NOTES
Asserts if s is NULL