IPnom Home • Manuals • FreeBSD

 FreeBSD Man Pages

Man Sections:Commands (1)System Calls (2)Library Functions (3)Device Drivers (4)File Formats (5)Miscellaneous (7)System Utilities (8)
Keyword Live Search (10 results max):
 Type in part of a command in the search box.
 


lwres_net_ntop(3)

NAME

       lwres_net_ntop - lightweight resolver IP address presentation


SYNOPSIS

       #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 rep-
       resentation 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 contain-
       ing 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).

BIND9				 Jun 30, 2000		     LWRES_INETNTOP(3)

SPONSORED LINKS




Man(1) output converted with man2html , sed , awk