.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" References consulted:
.\" Linux libc source code
.\"
.\" Modified 2003 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\"
+.\"*******************************************************************
.\"
-.\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
-.\" all rights reserved.
-.\" Translated Thu Dec 18 16:26:22 JST 1997
-.\" by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
-.\" Updated Wed Jan 9 JST 2002 by Kentaro Shirakata <argrath@ub32.org>
-.\" Updated Mon Sep 1 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
+.\" This file was generated with po4a. Translate the source file.
.\"
-.TH FFS 3 2010-09-20 "GNU" "Linux Programmer's Manual"
+.\"*******************************************************************
+.TH FFS 3 2010\-09\-20 GNU "Linux Programmer's Manual"
.SH 名前
ffs, ffsl, ffsll \- ワードの中で最初にセットされているビットの検出
.SH 書式
.nf
-.B #include <strings.h>
+\fB#include <strings.h>\fP
.sp
-.BI "int ffs(int " i );
+\fBint ffs(int \fP\fIi\fP\fB);\fP
.sp
-.B #include <string.h>
+\fB#include <string.h>\fP
.sp
-.BI "int ffsl(long int " i );
+\fBint ffsl(long int \fP\fIi\fP\fB);\fP
.sp
-.BI "int ffsll(long long int " i );
+\fBint ffsll(long long int \fP\fIi\fP\fB);\fP
.fi
.sp
.in -4n
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参照):
.in
.PD 0
.ad l
.sp
-.BR ffs ():
+\fBffs\fP():
.RS 4
-.TP 4
+.TP 4
glibc 2.10 以降:
-_SVID_SOURCE || _BSD_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700 ||
-.TP
+_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\ >=\ 200809L ||
+_XOPEN_SOURCE\ >=\ 700 ||
+.TP
glibc 2.10 より前:
none
.RE
.PP
-.BR ffsl (),
-.BR ffsll ():
+\fBffsl\fP(), \fBffsll\fP():
.RS 4
_GNU_SOURCE
.RE
.ad
.PD
.SH 説明
-.BR ffs ()
-関数は、ワード \fIi\fP の中で最初にセットされている
-(最下位)ビットの位置を返す。
-最下位ビットの位置は 1、最上位ビットの位置は例えば 32 や 64 である。
-.BR ffsll ()
-関数と
-.BR ffsl ()
-関数も同様だが、
+\fBffs\fP() 関数は、ワード \fIi\fP の中で最初にセットされている (最下位)ビットの位置を返す。 最下位ビットの位置は
+1、最上位ビットの位置は例えば 32 や 64 である。 \fBffsll\fP() 関数と \fBffsl\fP() 関数も同様だが、
異なったサイズの引数をとる。
.SH 返り値
-これらの関数は、最初にセットされているビットの位置を返し、
-.I i
-のどのビットもセットされていなければ 0 を返す。
+これらの関数は、最初にセットされているビットの位置を返し、 \fIi\fP のどのビットもセットされていなければ 0 を返す。
.SH 準拠
-.BR ffs ():
-4.3BSD, POSIX.1-2001.
+\fBffs\fP(): 4.3BSD, POSIX.1\-2001.
-関数
-.BR ffsl ()
-と
-.BR ffsll ()
-は glibc による拡張である。
+関数 \fBffsl\fP() と \fBffsll\fP() は glibc による拡張である。
.SH 注意
-BSD システムでは
-.I <string.h>
-にプロトタイプがある。
+BSD システムでは \fI<string.h>\fP にプロトタイプがある。
.SH 関連項目
-.BR memchr (3)
+\fBmemchr\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。