petsc-3.5.4 2015-05-23
Report Typos and Errors

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

Notes

Null arguments are ok

Not for use in Fortran

See Also

PetscStrcmp(), PetscStrncmp(), PetscStrgrt()

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

Examples

src/ts/examples/tutorials/ex11.c.html