FreeBSD/usr.bin/talk/ctl.c
/* print_addr is a debug print routine */
print_addr is a debug print routine
print_addr is a debug print routine
void
print_addr(struct sockaddr_in addr)
{
	int i;
	printf("addr = %lx, port = %o, family = %o zero = ",
		(u_long)addr.sin_addr.s_addr, addr.sin_port, addr.sin_family);
	for (i = 0; i<8;i++)
	printf("%o ", (int)addr.sin_zero[i]);
	putchar('\n');
}
void print_addr ( struct sockaddr_in addr ) { int i ; printf ( " " , ( u_long ) addr . sin_addr . s_addr , addr . sin_port , addr . sin_family ) ; for ( i = 0 ; i < 8 ; i ++ ) printf ( " " , ( int ) addr . sin_zero [ i ] ) ; putchar ( ' \n ' ) ; }
print_addr is a debug print routine
print_addr is a debug print routine