petsc-3.14.6 2021-03-30
PetscStrlen
Gets length of a string
Synopsis
#include "petscsys.h"
PetscErrorCode PetscStrlen(const char s[],size_t *len)
Not Collective
Input Parameters
Output Parameter
Note
This routine is analogous to strlen().
Null string returns a length of zero
Not for use in Fortran
Level
intermediate
Location
src/sys/utils/str.c
Examples
src/dm/impls/plex/tutorials/ex2.c.html
src/snes/tutorials/ex12.c.html
src/snes/tutorials/ex62.c.html
src/ts/tutorials/ex11.c.html
src/ts/tutorials/ex48.c.html
src/ts/tutorials/ex52.c.html
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages