Convert address family to character string.
- family Address family.
- buf Destination buffer.
- size Size of destination buffer.
Converts an address family to a character string and stores it in the provided buffer.
- The destination buffer or the type encoded in hexidecimal form if no match was found.
Definition at line 880 of file addr.c.
return __type2str(family, buf, size, afs, ARRAY_SIZE(afs));