#include "csf.h" #include "csftypes.h" #include /* memset */ /* set an array of cells to missing value * SetMemMV sets an array of cells to missing value */ void SetMemMV( void *buf, /* write-only buffer with cells */ size_t nrElements, /* number of cells */ CSF_CR cellRepr) /* cell representation */ { size_t i; switch (cellRepr) { case CR_INT1: (void)memset(buf,MV_INT1+256,nrElements);break; case CR_INT2: for (i=0;i