3 ms·
There aren't that many left though, they are a terrible idea. The NetBSD man page for inet_ntoa lists "The string returned by inet_ntoa() resides in a static m
by justincormack 12y ago
There aren't that many left though, they are a terrible idea.
The NetBSD man page for inet_ntoa lists "The string returned by inet_ntoa() resides in a static memory area" in the BUGS section, Linux is not so forward about it.
- caf 12y agoThe Linux man page says: The string is returned in a statically allocated buffer, which subsequent calls will overwrite.