__set_errno (EINVAL);
*errnop = EINVAL;
_nss_nis_getrpcbyname_r (const char *name, struct rpcent *rpc,			 char *buffer, size_t buflen, int *errnop){  intern_t data = {NULL, NULL};  enum nss_status status;  int found;  if (name == NULL)    {      __set_errno (EINVAL);      return NSS_STATUS_UNAVAIL;    }  status = internal_nis_setrpcent (&data);  if (status != NSS_STATUS_SUCCESS)    return status;  found = 0;  while (!found &&         ((status = internal_nis_getrpcent_r (rpc, buffer, buflen, errnop,					      &data)) == NSS_STATUS_SUCCESS))    {      if (strcmp (rpc->r_name, name) == 0)	found = 1;      else	{	  int i = 0;	  while (rpc->r_aliases[i] != NULL)	    {	      if (strcmp (rpc->r_aliases[i], name) == 0)		{		  found = 1;		  break;		}	      else		++i;	    }	}    }  internal_nis_endrpcent (&data);  if (!found && status == NSS_STATUS_SUCCESS)    return NSS_STATUS_NOTFOUND;  else    return status;}