On 05/03/13 11:18, Peng Haitao wrote: > The function getgrent() is not thread safe. Applied to my local branch for this work. Thank you, Peng. Cheers, Michael > Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> > --- > man3/getgrent.3 | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/man3/getgrent.3 b/man3/getgrent.3 > index ecf29fe..363fc15 100644 > --- a/man3/getgrent.3 > +++ b/man3/getgrent.3 > @@ -152,6 +152,17 @@ Insufficient buffer space supplied. > .TP > .I /etc/group > local group database file > +.SH ATTRIBUTES > +.SS Multithreading(see pthreads(7)) > +The > +.BR getgrent() > +is not thread-safe. > +.LP > +The > +.BR setgrent() > +and > +.BR endgrent() > +functions are thread-safe. > .SH CONFORMING TO > SVr4, 4.3BSD, POSIX.1-2001. > .SH SEE ALSO > -- 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