PetscStrcmpAny#

Determines whether a string matches any of a list of strings.

Synopsis#

#include "petscsys.h"   
PetscErrorCode PetscStrcmpAny(const char src[], PetscBool *match, const char cmp[], ...)

Not Collective, No Fortran Support

Input Parameters#

  • src - pointer to input the string

  • cmp - one or more string arguments, pass the empty string "" as the last argument

Output Parameter#

See Also#

PetscStrcmp()

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