SYNOPSIS

void MGOzero (void *mem, int size)

DESCRIPTION

The MGOzero() function sets size bytes of memory pointed to by mem to the Mango-specific "empty" value (ESV) which is required by all of the API functions. It's typically used to initialize a char or struct. For example,

  #include mgoapi.h

  [...]

  Uwnetid uwn;
  char    tmp;

  MGOzero (&uwn, sizeof (Uwnetid));
  MGOzero (&tmp, sizeof (tmp));

  [...]