char *basename(char *path);
If the string consists entirely
of directory separator characters,
If the specified path is a null
pointer or points to an empty string,
UNIX 98, with exceptions
The NuTCRACKER Platform recognizes both '/' and '\' as directory separators. It looks for the right-most occurrence of either character in the path name, and if both are found, assumes that the last one that occurs in the path name is the directory separator for that path.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.