Query: lwres_net_ntop
OS: redhat
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LWRES_INETNTOP(3) BIND9 LWRES_INETNTOP(3)NAMElwres_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);DESCRIPTIONlwres_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 VALUESIf 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 ALSORFC1884(), inet_ntop(3), errno(3).COPYRIGHTCopyright (C) 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC") Copyright (C) 2000, 2001 Internet Software Consortium. BIND9 Jun 30, 2000 LWRES_INETNTOP(3)
Related Man Pages |
---|
inet_pton(3) - redhat |
inet_ntop(3) - debian |
inet_ntop(3) - suse |
inet_pton(3xnet) - opensolaris |
lwres_inetntop(3) - redhat |
Similar Topics in the Unix Linux Community |
---|
Make all words begin with capital letter? |
Reduced Activity Notification |
Tar Command |
CentOS7 restoring file capabilities |
Issue with "rsh" on RedHat |