scap¶
Category: string
GitHub: cute_string.h
Gets the capacity of the string.
Parameters | Description |
---|---|
s | The string. Can be NULL . |
Remarks¶
This is not the number of characters, but the size of the internal buffer. The capacity automatically grows as necessary, but you can use sfit to ensure a minimum capacity manually, as an optimization.