In file No file:

char* name_path (const char *path)

Returns the filename portion of a pathname.

Documentation

Given a pathname, this function returns just the file name component of the path. That is, given #/a/b/c/ralph.nc.das#, it returns #ralph.nc#.
Returns:
A C-style simple string containing the filename component of the given pathname.
Parameters:
path - A C-style simple string containing a pathname to be parsed.

alphabetic index hierarchy of classes


generated by doc++