petsc-3.3-p7 2013-05-11
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(), PetscStrncat()
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/ksp/ksp/examples/tutorials/ex10.c.html
src/snes/examples/tutorials/ex12.c.html
src/snes/examples/tutorials/ex52.c.html
src/snes/examples/tutorials/ex61.c.html
src/snes/examples/tutorials/ex61gen.c.html
src/snes/examples/tutorials/ex61view.c.html
src/snes/examples/tutorials/ex62.c.html
src/snes/examples/tutorials/ex65.c.html
src/ts/examples/tutorials/ex8.c.html