On 06/11/2015 04:04 AM, Zeng Linggang wrote: > After research, We think > * getaddrinfo_a(), > * gai_suspend(), > * gai_error(), > * gai_cancel(), > are thread-safe. But, there are not > markings of them in glibc document. Thanks, Zeng Linggang. Applied. Cheers, Michael > Signed-off-by: Zeng Linggang <zenglg.jy@xxxxxxxxxxxxxx> > --- > man3/getaddrinfo_a.3 | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/man3/getaddrinfo_a.3 b/man3/getaddrinfo_a.3 > index 3bbf6aa..7673b16 100644 > --- a/man3/getaddrinfo_a.3 > +++ b/man3/getaddrinfo_a.3 > @@ -302,6 +302,22 @@ The > .BR gai_strerror (3) > function translates these error codes to a human readable string, > suitable for error reporting. > +.SH ATTRIBUTES > +For an explanation of the terms used in this section, see > +.BR attributes (7). > +.TS > +allbox; > +lbw31 lb lb > +l l l. > +Interface Attribute Value > +T{ > +.BR getaddrinfo_a (), > +.BR gai_suspend (), > +.BR gai_error (), > +.BR gai_cancel () > +T} Thread safety MT-Safe > +.TE > + > .SH CONFORMING TO > These functions are GNU extensions; > they first appeared in glibc in version 2.2.3. > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html