Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kPath_FileName | ( | const kChar * | path,
|  | kChar * | fileName,
|  | kSize | capacity
| ) |  |

Given a file path, returns the portion of the path containing the file name.

The fileName (output) argument can refer to the same memory address as the path (input) argument. This function is a synonym for kPath_BaseName.

See also
  kPath_BaseName.

Parameters

  path | File path.
  fileName | Receives the file name portion of the path.
  capacity | Maximum number of characters (including null terminator).

Returns
  Operation status.