mirror of https://github.com/mkerrisk/man-pages
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:
parent
1ee2274c39
commit
bb89d1ef8f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue