Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus k16s_Format | ( | k16s | value,
|  | kChar * | buffer,
|  | kSize | capacity
| ) |  |

Converts k16s value to string.

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 capacity is zero, kERROR_PARAMETER will be returned.

Parameters

  value | Input value.
  buffer | Destination for the string copy.
  capacity | Capacity of destination buffer, in characters.

Returns
  Operation status.