Thanks, Haitao. Applied. Cheers, Michael On 06/09/2014 12:32 PM, Peng Haitao wrote: > The functions basename() and dirname() are thread safe. > > Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> > --- > man3/basename.3 | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/man3/basename.3 b/man3/basename.3 > index bde1471..3894819 100644 > --- a/man3/basename.3 > +++ b/man3/basename.3 > @@ -126,6 +126,13 @@ and > return pointers to null-terminated strings. > (Do not pass these pointers to > .BR free (3).) > +.SH ATTRIBUTES > +.SS Multithreading (see pthreads(7)) > +The > +.BR basename () > +and > +.BR dirname () > +functions are thread-safe. > .SH CONFORMING TO > POSIX.1-2001. > .SH NOTES > -- 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