petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscStrendswithwhich

Determines if a string ends with one of several possible strings

Synopsis

#include "petscsys.h"   
PetscErrorCode  PetscStrendswithwhich(const char a[],const char *const *bs,PetscInt *cnt)
Not Collective Many br

Input Parameters

a - pointer to string Many br
bs - strings to endwith (last entry must be null) Many br

Output Parameter

cnt -the index of the string it ends with or 1+the last possible index Many br

Notes: Not for use in Fortran Many br

Many br

Level:intermediate
Location:
src/sys/utils/str.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages