getaddrinfo.3: ATTRIBUTES: Note functions that are thread-safe

After research, We think getaddrinfo(), freeaddrinfo() and
gai_strerror() are thread-safe. But, there are not markings
of them in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Zeng Linggang 2015-06-03 18:16:26 +08:00 committed by Michael Kerrisk
parent 1ee2274c39
commit bb89d1ef8f
1 changed files with 17 additions and 0 deletions

View File

@ -592,6 +592,23 @@ function translates these error codes to a human readable string,
suitable for error reporting.
.SH FILES
.I /etc/gai.conf
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lbw15 lb lb
l l l.
Interface Attribute Value
T{
.BR getaddrinfo ()
T} Thread safety MT-Safe env locale
T{
.BR freeaddrinfo (),
.BR gai_strerror ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
POSIX.1-2001.
The