char *buffer, size_t buflen, int *errnop)
char *buffer, size_t buflen, int *errnop, int *herrnop)
_nss_dns_getnetbyname_r (const char *name, struct netent *result,			 char *buffer, size_t buflen, int *errnop){  /* Return entry for network with NAME.  */  querybuf net_buffer;  int anslen;  char *qbuf;  if ((_res.options & RES_INIT) == 0 && __res_ninit (&_res) == -1)    return NSS_STATUS_UNAVAIL;  qbuf = strdupa (name);  anslen = res_nsearch (&_res, qbuf, C_IN, T_PTR, (u_char *) &net_buffer,			sizeof (querybuf));  if (anslen < 0)    {      /* Nothing found.  */      *errnop = errno;      return (errno == ECONNREFUSED	      || errno == EPFNOSUPPORT	      || errno == EAFNOSUPPORT)	? NSS_STATUS_UNAVAIL : NSS_STATUS_NOTFOUND;    }  return getanswer_r (&net_buffer, anslen, result, buffer, buflen, BYNAME);}