Menu

stripleadingpath

Mark Hobley

Synopsis

char * stripleadingpath(char *);

Strips leading pathname components, leaving just the [basename]:

./a.out becomes: a.out

Return values

Returns address of basename component (or NULL on error).


Related

Wiki: Home