PetscMemzero

Zeros the specified memory.

Synopsis

int PetscMemzero(void *a,int n)
Not Collective

Input Parameters

a - pointer to beginning memory location
n - length (in bytes) of memory to initialize

Keywords

Petsc, zero, initialize, memory

See Also

PetscMemcpy()

Level:intermediate
Location:src/sys/src/utils/memc.c
System Index
Table of Contents