XPLMExtractFileAndPath

Function XPLMExtractFileAndPath 

Source
pub unsafe extern "C" fn XPLMExtractFileAndPath(
    inFullPath: *mut c_char,
) -> *mut c_char
Expand description

XPLMExtractFileAndPath

Given a full path to a file, this routine separates the path from the file. If the path is a partial directory (e.g. ends in : or / ) the trailing directory separator is removed. This routine works in-place; a pointer to the file part of the buffer is returned; the original buffer still starts with the path and is null terminated with no trailing separator.