Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kPath_Combine | ( | const kChar * | segment1,
|  | const kChar * | segment2,
|  | kChar * | path,
|  | kSize | capacity
| ) |  |

Combines two path segments using the normalized path separator character.

The path (output) argument can refer to the same memory address as either of the segment (input) arguments.

Parameters

  segment1 | First path segment.
  segment2 | Second path segment.
  path | Receives the combined path segments.
  capacity | Maximum number of characters (including null terminator).

Returns
  Operation status.