lwres_inetntop (3)
NAME
lwres_net_ntop - lightweight resolver IP address presentationSYNOPSIS
#include <lwres/net.h>
- const char * lwres_net_ntop(int af, const void *src, char *dst, size_t size);
DESCRIPTION
lwres_net_ntop()
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_ntop(3), errno(3).
COPYRIGHT
Copyright © 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")Copyright © 2000, 2001 Internet Software Consortium.