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

Given a file path, returns the base name by stripping the parent directory portion.

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

Parameters
pathFile path.
baseNameReceives the base name.
capacityMaximum number of characters (including null terminator).
Returns
Operation status.