Mercurial > hg > octave-kai > gnulib-hg
changeset 6254:c814a016d50c
Note about inet_ntoa.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 19 Sep 2005 15:47:27 +0000 |
parents | f194efd935e3 |
children | 049aab67c353 |
files | doc/inet_ntoa.texi |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/doc/inet_ntoa.texi @@ -0,0 +1,13 @@ +@node inet_ntoa +@section inet_ntoa +@findex inet_ntoa + +The @code{inet_ntoa} function need not be reentrant, and consequently +is not required to be thread safe. Implementations of +@code{inet_ntoa} typically write the time stamp into static buffer. +If two threads call @code{inet_ntoa} at roughly the same time, you +might end up with the wrong date in one of the threads, or some +undefined string. Further, @code{inet_ntoa} is specific for +@acronym{IPv4} addresses. + +A protocol independent function is @code{inet_ntop}.