inet_ntoa(3)inet_ntoa(3)NAMEinet_ntoa - Translate an Internet address into a dot-formatted charac‐
ter string
SYNOPSIS
#include <arpa/inet.h>
char *inet_ntoa(
struct in_addr net_addr );
LIBRARY
Standard C Library (libc)
STANDARDS
Interfaces documented on this reference page conform to industry stan‐
dards as follows:
inet_ntoa(): XNS4.0, XNS5.0
Refer to the standards(5) reference page for more information about
industry standards and associated tags.
PARAMETERS
Defines an Internet network byte-ordered address to be converted to an
equivalent character string.
DESCRIPTION
The inet_ntoa() function translates an Internet network byte-ordered
address into a dot-formatted character string.
NOTES
[Tru64 UNIX] For inet_ntoa(), a return value points to thread-specific
data, which is overwritten by any subsequent calls from the same
thread.
RETURN VALUES
The inet_ntoa() function returns a pointer to a dot-formatted Internet
character string network address.
SEE ALSO
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)