PetscBasename#
returns a pointer to the last entry of a / or \ separated directory path
Synopsis#
#include "petscsys.h"
const char *PetscBasename(const char a[])
Not Collective; No Fortran Support
Input Parameter#
a - pointer to string
See Also#
PetscStrgrt(), PetscStrncmp(), PetscStrcasecmp(), PetscStrrchr(), PetscStrcmp(), PetscStrstr(),
PetscTokenCreate(), PetscStrToArray(), PetscStrInList()
Level#
intermediate
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages