Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kPath_Normalize | ( | const kChar * | path,
|  | kChar * | normalized,
|  | kSize | capacity
| ) |  |

Transforms all path separators to normal form and removes trailing slashes.

The normalized (output) argument can refer to the same memory address as the path (input) argument.

Parameters

  path | Input path, in native or mixed form.
  normalized | Receives transformed path, in normal form.
  capacity | Maximum number of characters (including null terminator) for normalized path.

Returns
  Operation status.