Function util_zchk

Function Documentation

bool_t util_zchk(void *elt, size_t elt_size)

Utility function to check if an element is 0.

If the element is larger than double, a for() loop is used. Otherwise pointers are used.

Parameters:
  • elt – Element to check.

  • elt_size – Size of element in bytes.

Returns:

bool_t