topoPrint

Print basic information about the topology

Synopsis

int topoPrint(FILE *fp, const char *leader, topoinfo_t *topo)

Input Parameters

fp
FILE pointer for output
leader
string to prepend each line of output
topo
pointer to topology info

Return value

0 on success, non-zero on failure.

Thread Safety

This routine is not thread safe.