Skip to content

cf_string_size

Category: string
GitHub: cute_string.h


Returns the byte count including the nul-terminator, or 0 if NULL.

#define cf_string_size(s) scount(s)
Parameters Description
s The string. Can be NULL.

Return Value

Returns the byte count of s including the nul-terminator.

Remarks

Shortform: scount(s).

cf_string_len
cf_string_count
cf_string_cap