Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kString_Reserve | ( | kString | str,
|  | kSize | minimumCapacity
| ) |  |

Ensures that capacity is reserved for at least the specified number of character units (excluding null terminator).

Any string content within the original capacity is preserved.

Parameters

  str | String object.
  minimumCapacity | Minimum string capacity, in character units.

Returns
  Operation status.