On 01/28/2015 07:10 AM, Ma Shimiao wrote: > The function closedir() in glibc is thread safe. > It's marking matches glibc marking. Thanks, Ma Shimiao. Applied in the mt_attributes branch. Cheers, Michael > Signed-off-by: Ma Shimiao <mashimiao.fnst@xxxxxxxxxxxxxx> > --- > man3/closedir.3 | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/man3/closedir.3 b/man3/closedir.3 > index 37cb6a7..1779bbf 100644 > --- a/man3/closedir.3 > +++ b/man3/closedir.3 > @@ -64,6 +64,18 @@ is set appropriately. > .B EBADF > Invalid directory stream descriptor > .IR dirp . > +.SH ATTRIBUTES > +For an explanation of the terms used in this section, see > +.BR attributes (7). > +.TS > +allbox; > +lb lb lb > +l l l. > +Interface Attribute Value > +T{ > +.BR closedir () > +T} Thread safety MT-Safe > +.TE > .SH CONFORMING TO > SVr4, POSIX.1-2001, 4.3BSD. > .SH SEE ALSO > -- 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