strnlen.3: ATTRIBUTES: Note function that is thread-safe

The function strnlen() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Peng Haitao 2014-02-25 16:28:38 +08:00 committed by Michael Kerrisk
parent be5d0c873e
commit 0f5df2aa8c
1 changed files with 6 additions and 1 deletions

View File

@ -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