Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/inet_ntoa.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/inet_ntoa.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/inet_ntoa.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/inet_ntoa.html on line 8
Convert an Internet address into a string
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
char * inet_ntoa( struct in_addr in );
- in
- The Internet address that you want to convert.
libsocket
Use the -l socket option to
qcc
to link against this library.
The inet_ntoa() routine converts an IPv4 Internet address
into an ASCII string representing the address in dot notation
(for example, “127.0.0.1”).
For more information on Internet addresses, see
inet_net_ntop().
A string representing an Internet address.
POSIX 1003.1
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
The string returned by this function is stored in a static buffer that's
reused for every call to inet_ntoa().
For a thread-safe version, see
inet_ntoa_r().
inet_aton(),
inet_ntoa_r()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/inet_ntoa.html on line 122
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/inet_ntoa.html on line 122