On 06/05/13 04:12, Peng Haitao wrote: > The function tmpnam() is thread safe with exceptions. Thanks, Peng. Applied in my local branch. Cheers, Michael > Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> > --- > man3/tmpnam.3 | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/man3/tmpnam.3 b/man3/tmpnam.3 > index b2bc3b2..0b92970 100644 > --- a/man3/tmpnam.3 > +++ b/man3/tmpnam.3 > @@ -74,6 +74,16 @@ function returns a pointer to a unique temporary > filename, or NULL if a unique name cannot be generated. > .SH ERRORS > No errors are defined. > +.SH ATTRIBUTES > +.SS Multithreading (see pthreads(7)) > +The > +.BR tmpnam () > +function is thread-safe with exceptions. > +It is not thread-safe if called with a NULL parameter. > +.LP > +The > +.BR tmpnam_r () > +function is thread-safe. > .SH CONFORMING TO > SVr4, 4.3BSD, C89, C99, POSIX.1-2001. > POSIX.1-2008 marks > -- 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