From f50ae72ec3417cae55dd4e085991c01af9fdc5f1 Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Wed, 11 Feb 2009 20:37:59 +0100 Subject: Initial commit --- lib/lwres/man/lwres_inetntop.docbook | 120 +++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 lib/lwres/man/lwres_inetntop.docbook (limited to 'lib/lwres/man/lwres_inetntop.docbook') diff --git a/lib/lwres/man/lwres_inetntop.docbook b/lib/lwres/man/lwres_inetntop.docbook new file mode 100644 index 0000000..26f1779 --- /dev/null +++ b/lib/lwres/man/lwres_inetntop.docbook @@ -0,0 +1,120 @@ +]> + + + + + + + Jun 30, 2000 + + + + lwres_inetntop + 3 + BIND9 + + + + + 2004 + 2005 + 2007 + Internet Systems Consortium, Inc. ("ISC") + + + 2000 + 2001 + Internet Software Consortium. + + + + + lwres_net_ntop + lightweight resolver IP address presentation + + + +#include <lwres/net.h> + + +const char * +lwres_net_ntop + int af + const void *src + char *dst + size_t size + + + + + + DESCRIPTION + + lwres_net_ntop() + converts an IP address of protocol family + af — IPv4 or IPv6 — at + location src from network format to its + conventional representation as a string. For IPv4 addresses, + that string would be a dotted-decimal. An IPv6 address would be + represented in colon notation as described in RFC1884. + + + + The generated string is copied to dst + provided + size indicates it is long enough to + store the + ASCII representation of the address. + + + + + RETURN VALUES + + + If successful, the function returns dst: + a pointer to a string containing the presentation format of the + address. lwres_net_ntop() returns + NULL and sets the global variable + errno to EAFNOSUPPORT if + the protocol family given in af is + not + supported. + + + + + SEE ALSO + + RFC1884 + , + + inet_ntop3 + , + + errno3 + . + + + -- cgit