Zen API
 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
pathFile path.
fileNameReceives the file name portion of the path.
capacityMaximum number of characters (including null terminator).
Returns
Operation status.