inet_ntoa - Translate an Internet address into a dot-formatted
character string
#include <arpa/inet.h>
char *inet_ntoa(
struct in_addr net_addr );
Standard C Library (libc)
Interfaces documented on this reference page conform to
industry standards as follows:
inet_ntoa(): XNS4.0, XNS5.0
Refer to the standards(5) reference page for more information
about industry standards and associated tags.
Defines an Internet network byte-ordered address to be
converted to an equivalent character string.
The inet_ntoa() function translates an Internet network
byte-ordered address into a dot-formatted character
string.
[Tru64 UNIX] For inet_ntoa(), a return value points to
thread-specific data, which is overwritten by any subsequent
calls from the same thread.
The inet_ntoa() function returns a pointer to a dot-formatted
Internet character string network address.
Functions: inet_addr(3), inet_lnaof(3), inet_makeaddr(3),
inet_netof(3), inet_network(3)
Standards: standards(5)
Network Programmer's Guide
inet_ntoa(3)
[ Back ] |