ZERO

Description

Fills an array with zeros

Syntax

If Metaware is being used ZERO is defined as:

ZERO(x) _fill_char(x,sizeof(x),0)
(_fill_char is a Metaware intrinsic function)

Otherwise it is defined as:

ZERO(x) memset(x,'\0',sizeof(x))

Remarks

Note this is not for use with pointers. sizeof(x) must give the size of the space to be filled in.