SYNOPSIS
#include <libgen.h>
char *basename(char *path);
DESCRIPTION
The
If the string consists entirely
of directory separator characters,
If the specified path is a null
pointer or points to an empty string,
The
PARAMETERS
RETURN VALUES
The
CONFORMANCE
UNIX 98, with exceptions
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
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.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
dirname()
MKS Toolkit 9.2 Documentation Build 16.