strspn.3: ATTRIBUTES: Note functions that are thread-safe

The functions strspn() and strcspn() are 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-28 10:21:10 +08:00 committed by Michael Kerrisk
parent 21b4924075
commit 6e16c20399
1 changed files with 8 additions and 1 deletions

View File

@ -27,7 +27,7 @@
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\" 386BSD man pages
.\" Modified Sat Jul 24 17:57:50 1993 by Rik Faith (faith@cs.unc.edu)
.TH STRSPN 3 2013-12-30 "" "Linux Programmer's Manual"
.TH STRSPN 3 2014-02-28 "" "Linux Programmer's Manual"
.SH NAME
strspn, strcspn \- get length of a prefix substring
.SH SYNOPSIS
@ -71,6 +71,13 @@ the initial segment of
.I s
which are not in the string
.IR reject .
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR strspn ()
and
.BR strcspn ()
functions are thread-safe.
.SH CONFORMING TO
SVr4, 4.3BSD, C89, C99.
.SH SEE ALSO