static char buf[17];
static char buf[sizeof(".255.255.255.255")];
intoa(addr)	register n_long addr;{	register char *cp;	register u_int byte;	register int n;	static char buf[17];	/* strlen(".255.255.255.255") + 1 */	NTOHL(addr);	cp = &buf[sizeof buf];	*--cp = '\0';	n = 4;	do {		byte = addr & 0xff;		*--cp = byte % 10 + '0';		byte /= 10;		if (byte > 0) {			*--cp = byte % 10 + '0';			byte /= 10;			if (byte > 0)				*--cp = byte + '0';		}		*--cp = '.';		addr >>= 8;	} while (--n > 0);	return (cp+1);}