Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kStrCopy ( kChar dest,
kSize  capacity,
const kChar src 
)

Copies characters from source to destination.

If the buffer is insufficient, the copy 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
destDestination for the string copy.
capacityCapacity of destination buffer, in characters.
srcSource for the string copy.
Returns
Operation status.