Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kStrCat | ( | kChar * | dest,
|  | kSize | capacity,
|  | const kChar * | src
| ) |  |

Appends characters from source to destination.

If the buffer is insufficient, the concatenation will transfer as many characters as possible, null-terminate the resulting string, and return kERROR_INCOMPLETE.

If the destination capacity is zero, kERROR_PARAMETER will be returned.

Parameters

  dest | Destination string to append to.
  capacity | Capacity of destination buffer, in characters.
  src | Source string to append.

Returns
  Operation status.