petsc-3.7.3 2016-07-24
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