Thanks, Haitao. Applied. On 02/25/2014 09:28 AM, Peng Haitao wrote: > The function strnlen() is thread safe. > > Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> > --- > man3/strnlen.3 | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/man3/strnlen.3 b/man3/strnlen.3 > index 7548f59..b994743 100644 > --- a/man3/strnlen.3 > +++ b/man3/strnlen.3 > @@ -10,7 +10,7 @@ > .\" References consulted: > .\" GNU glibc-2 source code and manual > .\" > -.TH STRNLEN 3 2012-05-10 "GNU" "Linux Programmer's Manual" > +.TH STRNLEN 3 2014-02-25 "GNU" "Linux Programmer's Manual" > .SH NAME > strnlen \- determine the length of a fixed-size string > .SH SYNOPSIS > @@ -68,6 +68,11 @@ if there is no null byte (\(aq\\0\(aq) among the first > .I maxlen > bytes pointed to by > .IR s . > +.SH ATTRIBUTES > +.SS Multithreading (see pthreads(7)) > +The > +.BR strnlen () > +function is thread-safe. > .SH CONFORMING TO > POSIX.1-2008. > .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