Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kStrPrintf | ( | kChar * | dest,
|  | kSize | capacity,
|  | const kChar * | format,
|  |  | ...
| ) |  |

Formats a string using printf-style arguments.

This function relies on formatting support from underlying system libraries; results can vary.

If the output buffer is insufficient, kERROR_INCOMPLETE will be returned. In this case, the destination buffer will contain truncated, null-terminated output.

Parameters

  dest | Destination for formatted output.
  capacity | Capacity of output buffer.
  format | Print format string.

Returns
  Operation status.