Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kPath_StripExtension | ( | const kChar * | path,
|  | kChar * | strippedPath,
|  | kSize | capacity
| ) |  |

Given a file path, returns the portion of the path excluding the file extension.

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

Parameters

  path | File path.
  strippedPath | Receives the path without extension.
  capacity | Maximum number of characters (including null terminator).

Returns
  Operation status.