|Prototype:||char * basename(char * name)|
|Parameters:||name||pointer to file name|
|Return Value:||pointer to filename portion of *name|
On Windows and VMS the input argument name string may be modified:
If it contains a file name extension (e.g. .exe) the dot (.) character delimiting that extension is replaced with a null character (\0), terminating the returned string at the beginning of the extension portion.