Differences between version 8 and previous revision of inet_ntoa(3).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 8 | Last edited on Thursday, January 8, 2004 6:59:41 am | by MikeBuland | Revert |
Older page: | version 7 | Last edited on Friday, July 18, 2003 4:25:57 pm | by PerryLorier | Revert |
@@ -26,8 +26,9 @@
The inet_network(3) function extracts the network number in host byte order from the address ''cp'' in numbers-and-dots notation. If the input is invalid, -1 is returned.
The inet_ntoa(3) function converts the Internet host address ''in'' given in network byte order to a string in standard numbers-and-dots notation. The string is returned
in a statically allocated buffer, which subsequent calls will overwrite.
+** Valgrind reports a memory leak when using this function. No solution has as of yet been found.
The inet_makeaddr(3) function makes an Internet host address in network byte order by combining the network number ''net'' with the local address ''host'' in network ''net'', both in local host byte order.