annotate doc/inet_ntoa.texi @ 6254:c814a016d50c

Note about inet_ntoa.
author Bruno Haible <bruno@clisp.org>
date Mon, 19 Sep 2005 15:47:27 +0000
parents
children adb21c293305
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6254
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 @node inet_ntoa
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 @section inet_ntoa
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 @findex inet_ntoa
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 The @code{inet_ntoa} function need not be reentrant, and consequently
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 is not required to be thread safe. Implementations of
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 @code{inet_ntoa} typically write the time stamp into static buffer.
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 If two threads call @code{inet_ntoa} at roughly the same time, you
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 might end up with the wrong date in one of the threads, or some
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 undefined string. Further, @code{inet_ntoa} is specific for
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 @acronym{IPv4} addresses.
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
c814a016d50c Note about inet_ntoa.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 A protocol independent function is @code{inet_ntop}.