"Fossies" - the Fresh Open Source Software Archive
Member "bind-9.11.23/lib/lwres/man/lwres_inetntop.docbook" (7 Sep 2020, 3586 Bytes) of package /linux/misc/dns/bind9/9.11.23/bind-9.11.23.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format (assuming docbook format).
Alternatively you can here view
the uninterpreted source code file.
A member file download can also be achieved by clicking within a package contents listing on the according byte size field.
Internet Systems Consortium, Inc.
Internet Systems Consortium, Inc. ("ISC")
lightweight resolver IP address presentation
const char *
const void *
lwres_net_ntop() converts an IP address of protocol family
af MDASH IPv4 or IPv6 MDASH 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
size indicates it is long enough to store the ASCII representation of the address.
If successful, the function returns
dst: a pointer to a string containing the presentation format of the address.
NULL and sets the global variable
errno to EAFNOSUPPORT if the protocol family given in
af is not supported.
RFC1884, inet_ntop3, errno3.