X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=draft%2Fman3%2Fffs.3;h=f40f9cc050bcb5ad791e7df04e5135d05b495280;hb=c1dfa2f6ab1bbed84992d3c59ee9925f4d453668;hp=1936ae951cc202c8d1ad35031e9b68288a94e0a5;hpb=ce024239a1d8e74a7a44f7c24cee4375cb13b3ef;p=linuxjm%2FLDP_man-pages.git diff --git a/draft/man3/ffs.3 b/draft/man3/ffs.3 index 1936ae95..f40f9cc0 100644 --- a/draft/man3/ffs.3 +++ b/draft/man3/ffs.3 @@ -1,5 +1,6 @@ .\" 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. @@ -19,6 +20,7 @@ .\" .\" 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 @@ -28,112 +30,65 @@ .\" .\" 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 -.\" Updated Wed Jan 9 JST 2002 by Kentaro Shirakata -.\" Updated Mon Sep 1 JST 2003 by Kentaro Shirakata +.\" 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 名前 -.\"O ffs, ffsl, ffsll \- find first bit set in a word ffs, ffsl, ffsll \- ワードの中で最初にセットされているビットの検出 .SH 書式 .nf -.B #include +\fB#include \fP .sp -.BI "int ffs(int " i ); +\fBint ffs(int \fP\fIi\fP\fB);\fP .sp -.B #include +\fB#include \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 -.\"O Feature Test Macro Requirements for glibc (see -.\"O .BR feature_test_macros (7)): -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 -.\"O Since glibc 2.10: +.TP 4 glibc 2.10 以降: -_SVID_SOURCE || _BSD_SOURCE || -_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700 || -.TP -.\"O Before glibc 2.10: +_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 説明 -.\"O The -.\"O .BR ffs () -.\"O function returns the position of the first -.\"O (least significant) bit set in the word \fIi\fP. -.\"O The least significant bit is position 1 and the -.\"O most significant position is, for example, 32 or 64. -.BR ffs () -関数は、ワード \fIi\fP の中で最初にセットされている -(最下位)ビットの位置を返す。 -最下位ビットの位置は 1、最上位ビットの位置は例えば 32 や 64 である。 -.\"O The functions -.\"O .BR ffsll () -.\"O and -.\"O .BR ffsl () -.\"O do the same but take -.\"O arguments of possibly different size. -.BR ffsll () -関数と -.BR ffsl () -関数も同様だが、 +\fBffs\fP() 関数は、ワード \fIi\fP の中で最初にセットされている (最下位)ビットの位置を返す。 最下位ビットの位置は +1、最上位ビットの位置は例えば 32 や 64 である。 \fBffsll\fP() 関数と \fBffsl\fP() 関数も同様だが、 異なったサイズの引数をとる。 .SH 返り値 -.\"O These functions return the position of the first bit set, -.\"O or 0 if no bits are set in -.\"O .IR i . -これらの関数は、最初にセットされているビットの位置を返し、 -.I i -のどのビットもセットされていなければ 0 を返す。 -.\"O .SH "CONFORMING TO" +これらの関数は、最初にセットされているビットの位置を返し、 \fIi\fP のどのビットもセットされていなければ 0 を返す。 .SH 準拠 -.BR ffs (): -4.3BSD, POSIX.1-2001. +\fBffs\fP(): 4.3BSD, POSIX.1\-2001. -.\"O The -.\"O .BR ffsl () -.\"O and -.\"O .BR ffsll () -.\"O functions are glibc extensions. -関数 -.BR ffsl () -と -.BR ffsll () -は glibc による拡張である。 -.\"O .SH NOTES +関数 \fBffsl\fP() と \fBffsll\fP() は glibc による拡張である。 .SH 注意 -.\"O BSD systems have a prototype in -.\"O .IR . -BSD システムでは -.I -にプロトタイプがある。 -.\"O .SH "SEE ALSO" +BSD システムでは \fI\fP にプロトタイプがある。 .SH 関連項目 -.BR memchr (3) +\fBmemchr\fP(3) +.SH この文書について +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部 +である。プロジェクトの説明とバグ報告に関する情報は +http://www.kernel.org/doc/man\-pages/ に書かれている。