:i	static char d_ghba_sccs_id[] = "%W% %G%";
:1#include "V.h"
/*
* Note that we've shortened this function's name, due to truncations in some
* Unix archives and on Sys/V systems with their silly 14-byte limit.
*/
extern struct hostent *gethostbyaddr();

struct hostent* d_ghba(addr, l, type)
	char *addr;
	int l, type;
{	struct hostent *v;

:8	V8 "gethostbyaddr(%08X,%d,%d)",addr, l, type D;
	v = (struct hostent *)gethostbyaddr(addr, l, type);
:6	V6 "gethostbyaddr(%08X,%d,%d)=%d [Err %d=%s=%s]",addr, l, type, v, Errinfo D;
:5	if (Vlvl > 4 && v)	dumphostent(v);
	return(v);
}
