PetscGetRelativePath

Given a filename, returns the relative path (removes all directory specifiers).

Synopsis

int PetscGetRelativePath( char *fullpath, char *path, int flen )
Not Collective

Input parameters

fullpath - full pathname
path - pointer to buffer to hold relative pathname
flen - size of path

Keywords

system, get, relative, path

See Also

PetscGetFullPath()

Location: src/sys/src/fileiorpath.c
System Index
Table of Contents