Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
getdns_display_ip_address(3)	    getdns	  getdns_display_ip_address(3)

NAME
       getdns_display_ip_address -- convert an getdns ip address to string

LIBRARY
       DNS Resolver library (libgetdns,	-lgetdns)

SYNOPSIS
       #include	<getdns.h>

       char *
       getdns_display_ip_address (const	getdns_bindata *ipv4_or_ipv6_addr)

DESCRIPTION
       This  helper  function returns a	nicely formatted string	representation
       of the IPv4 or IPv6 address.  The length	of the bindata is used to  de-
       termine whether the address is IPv4 or IPv6.

       ipv4_or_ipv6_addr bindata of the	address	to print

RETURN VALUES
       Returns	a string representation	of the IP address (allocated using the
       system allocator	- malloc), the caller is responsible for  freeing  the
       storage using free().

EXAMPLES
       TBD

SEE ALSO
       libgetdns(3)

getdns 1.1.1			 December 2015	  getdns_display_ip_address(3)

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | EXAMPLES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=getdns_display_ip_address&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help