petsc-3.10.5 2019-03-28
PetscStrcpy
Copies a string
Synopsis
#include "petscsys.h"
PetscErrorCode PetscStrcpy(char s[],const char t[])
Not Collective
Input Parameters
t -pointer to string
Output Parameter
s -the copied string
Notes
Null string returns a string starting with zero
Not for use in Fortran
See Also
PetscStrncpy(), PetscStrcat(), PetscStrlcat()
Level
intermediate
Location
src/sys/utils/str.c
Examples
src/vec/is/sf/examples/tutorials/ex1.c.html
src/ksp/ksp/examples/tutorials/ex10.c.html
src/ksp/ksp/examples/tutorials/ex72.c.html
src/ts/examples/tutorials/ex8.c.html
src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/extchem.c.html
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages