Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kPath_ToAbsolute | ( | const kChar * | pathA,
|  | const kChar * | bRelativeToA,
|  | kChar * | pathB,
|  | kSize | capacity
| ) |  |

Finds the absolute path expressed by the combination of an absolute path and a relative path.

If bRelativeToA is already expressed in absolute form, then pathB will receive an absolute path equal to bRelativeToA.

The pathB (output) argument can refer to the same memory address as either the pathA or bRelativeToA (input) arguments.

Parameters

  pathA | Absolute reference path.
  bRelativeToA | Path b, expressed as relative to path A.
  pathB | Receives path b, expressed as an absolute path.
  capacity | Maximum number of characters (including null terminator) for path b.

Returns
  Operation status.