int dn_expand (
int length );
The dn_expand() function expands a compressed domain name to a full domain name, converting the expanded names to uppercase.
The dn_expand() function is one of a set of subroutines that form the resolver, a set of functions that resolves domain names. Global information that is used by the resolver functions is kept in the _res data structure. The /include/resolv.h file contains the _res structure definition.
Upon successful completion, the dn_expand() function returns the size of the expanded domain name. Otherwise, a value of -1 is returned.
Functions: res_init(3), res_mkquery(3), res_send(3), dn_comp(3), dn_find(3), _getshort(3), _getlong(3), putshort(3), putlong(3), dn_skipname(3) delim off