#define P99_TZERO (   X)    (memset(&(X), 0, sizeof(X)))

Zero out all bits in the object X.

X must be an object from which the address can be taken, such as a normal variable or an array.

This is a macro not a function, but nevertheless, X is evaluated only once.

See also
P99_MEMZERO for a macro that initializes to a default value that is guaranteed to correspond to the type.
argument 0 maybe evaluated several times for its type but only once for its value

Definition at line 78 of file p99_new.h.