PetscMemzero
Zeros the specified memory.
Synopsis
#include "petsc.h"
int PetscMemzero(void *a,int n)
Not Collective
Input Parameters
| a | - pointer to beginning memory location
|
| n | - length (in bytes) of memory to initialize
|
Compile Option
PETSC_PREFER_BZERO - on certain machines (the IBM RS6000) the bzero() routine happens
to be faster than the memset() routine. This flag causes the bzero() routine to be used.
Keywords
Petsc, zero, initialize, memory
See Also
PetscMemcpy()
Level:intermediate
Location:src/sys/src/utils/memc.c
System Index
Table of Contents