OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / ffs.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified Sat Jul 24 19:39:35 1993 by Rik Faith (faith@cs.unc.edu)
28 .\"
29 .\" Modified 2003 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
30 .\"
31 .\"
32 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
33 .\"     all rights reserved.
34 .\" Translated Thu Dec 18 16:26:22 JST 1997
35 .\"     by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
36 .\" Updated Wed Jan  9 JST 2002 by Kentaro Shirakata <argrath@ub32.org>
37 .\" Updated Mon Sep  1 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
38 .\"
39 .TH FFS 3 2009-08-27 "GNU" "Linux Programmer's Manual"
40 .SH Ì¾Á°
41 ffs, ffsl, ffsll \- ¥ï¡¼¥É¤ÎÃæ¤ÇºÇ½é¤Ë¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¥Ó¥Ã¥È¤Î¸¡½Ð
42 .SH ½ñ¼°
43 .nf
44 .B #include <strings.h>
45 .sp
46 .BI "int ffs(int " i );
47 .sp
48 .B #define _GNU_SOURCE
49 .br
50 .B #include <string.h>
51 .sp
52 .BI "int ffsl(long int " i );
53 .sp
54 .BI "int ffsll(long long int " i );
55 .fi
56 .SH ÀâÌÀ
57 .BR ffs ()
58 ´Ø¿ô¤Ï¡¢¥ï¡¼¥É \fIi\fP ¤ÎÃæ¤ÇºÇ½é¤Ë¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë
59 (ºÇ²¼°Ì)¥Ó¥Ã¥È¤Î°ÌÃÖ¤òÊÖ¤¹¡£
60 ºÇ²¼°Ì¥Ó¥Ã¥È¤Î°ÌÃ֤Ϡ1¡¢ºÇ¾å°Ì¥Ó¥Ã¥È¤Î°ÌÃÖ¤ÏÎ㤨¤Ð 32 ¤ä 64 ¤Ç¤¢¤ë¡£
61 .BR ffsll ()
62 ´Ø¿ô¤È
63 .BR ffsl ()
64 ´Ø¿ô¤âƱÍͤÀ¤¬¡¢
65 °Û¤Ê¤Ã¤¿¥µ¥¤¥º¤Î°ú¿ô¤ò¤È¤ë¡£
66 .SH ÊÖ¤êÃÍ
67 ¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢ºÇ½é¤Ë¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¥Ó¥Ã¥È¤Î°ÌÃÖ¤òÊÖ¤·¡¢
68 .I i
69 ¤Î¤É¤Î¥Ó¥Ã¥È¤â¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð 0 ¤òÊÖ¤¹¡£
70 .SH ½àµò
71 .BR ffs (): 4.3BSD, POSIX.1-2001.
72 .BR ffsl ()
73 ¤È
74 .BR ffsll ()
75 ¤Ï glibc ¤Ë¤è¤ë³ÈÄ¥¤Ç¤¢¤ë¡£
76 .SH Ãí°Õ
77 BSD ¥·¥¹¥Æ¥à¤Ç¤Ï
78 .I <string.h>
79 ¤Ë¥×¥í¥È¥¿¥¤¥×¤¬¤¢¤ë¡£
80 .SH ´ØÏ¢¹àÌÜ
81 .BR memchr (3),
82 .BR feature_test_macros (7)