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

The functions ffs(), ffsl() and ffsll() 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-04-14 11:37:54 +08:00 committed by Michael Kerrisk
parent ec3f0bf778
commit 7eea6fc323
1 changed files with 9 additions and 1 deletions

View File

@ -30,7 +30,7 @@
.\"
.\" Modified 2003 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\"
.TH FFS 3 2010-09-20 "GNU" "Linux Programmer's Manual"
.TH FFS 3 2014-04-14 "GNU" "Linux Programmer's Manual"
.SH NAME
ffs, ffsl, ffsll \- find first bit set in a word
.SH SYNOPSIS
@ -88,6 +88,14 @@ arguments of possibly different size.
These functions return the position of the first bit set,
or 0 if no bits are set in
.IR i .
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR ffs (),
.BR ffsl (),
and
.BR ffsll ()
functions are thread-safe.
.SH CONFORMING TO
.BR ffs ():
4.3BSD, POSIX.1-2001.