PetscStrcasecmp#

Returns true if the two strings are the same except possibly for case.

Synopsis#

#include "petscsys.h"   
PetscErrorCode PetscStrcasecmp(const char a[], const char b[], PetscBool *t)

Not Collective

Input Parameters#

  • a - pointer to first string

  • b - pointer to second string

Output Parameter#

  • flg - if the two strings are the same

Note#

Null arguments are ok

Fortran Note#

Not for use in Fortran

See Also#

PetscStrcmp(), PetscStrncmp(), PetscStrgrt()

Level#

intermediate

Location#

src/sys/utils/str.c

Examples#

src/ts/tutorials/ex11.c.html
src/ts/tutorials/ex11_sa.c.html
src/ts/tutorials/ex18.c.html


Edit on GitLab

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages