topoToStr
Create a one-line description of the topology, suitable for printing
Synopsis
int topoToStr(topoinfo_t *topo, int incname, char *str, int len)
Input Parameters
- topo
- Pointer to topology information
- incname
- if true, include the string name of each element of the topology
- len
- size of str
Output Parameters
- str
- Pointer to a char array that will contain the description of the
topology.
Return value
0 on success, non-zero on failure.