maint: update copyright
[gnulib.git] / doc / inet_ntoa.texi
1 @node inet_ntoa
2 @section inet_ntoa
3 @findex inet_ntoa
4
5 @c Copyright (C) 2005, 2009-2014 Free Software Foundation, Inc.
6
7 @c Permission is granted to copy, distribute and/or modify this document
8 @c under the terms of the GNU Free Documentation License, Version 1.3 or
9 @c any later version published by the Free Software Foundation; with no
10 @c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
11 @c Texts.  A copy of the license is included in the ``GNU Free
12 @c Documentation License'' file as part of this distribution.
13
14 The @code{inet_ntoa} function need not be reentrant, and consequently
15 is not required to be thread safe.  Implementations of
16 @code{inet_ntoa} typically write the time stamp into static buffer.
17 If two threads call @code{inet_ntoa} at roughly the same time, you
18 might end up with the wrong date in one of the threads, or some
19 undefined string.  Further, @code{inet_ntoa} is specific for
20 IPv4 addresses.
21
22 A protocol independent function is @code{inet_ntop}.