Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPath_Extension ( const kChar path,
kChar extension,
kSize  capacity 
)

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

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

Parameters
pathFile path.
extensionReceives the file extension portion of the path.
capacityMaximum number of characters (including null terminator).
Returns
Operation status.