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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.