Copy or zero an array
#include <vistaio.h> void VistaIOCopy (from, to, nels) type *from, *to; size_t nels;
void VistaIOZero (array, nels)
type *array; size_t nels;
where type is any C type.
Each specifies a pointer to the first element of an array of type.
Specifies the number of array elements.
The VistaIOCopy macro copies nels array elements (each of type type) from from to to.
The VistaIOZero macro writes zeros into nels array elements (each of type type) beginning at array.