Skip to content

cf_string_cap

Category: string
GitHub: cute_string.h


Returns the capacity of the string's backing buffer, or 0 if NULL.

#define cf_string_cap(s) scap(s)
Parameters Description
s The string. Can be NULL.

Return Value

Returns the number of bytes allocated.

Remarks

Shortform: scap(s).

cf_string_len
cf_string_fit