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

PetscStrchr

Locates first occurance of a character in a string

Synopsis

#include "petscsys.h"   
PetscErrorCode  PetscStrchr(const char a[],char b,char *c[])
Not Collective

Input Parameters

a - pointer to string
b - character

Output Parameter

c -location of occurance, NULL if not found

Notes: Not for use in Fortran

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