OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man3 / abs.3
index 1f1a02b..60e48f6 100644 (file)
@@ -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
 .\" Modified Sat Jul 24 21:45:37 1993, Rik Faith (faith@cs.unc.edu)
 .\" Modified Sat Dec 16 15:02:59 2000, Joseph S. Myers
 .\"
-.\" Japanese Version Copyright (c) 1996 Kentaro OGAWA
-.\"         all rights reserved.
-.\" Translated Sat, 13 Jul 1996 22:44:04 +0900
-.\"         by Kentaro OGAWA <k_ogawa@oyna.cc.muroran-it.ac.jp>
-.\" Updated Mon 29 Jan 2001 17:18:34 JST by Kentaro Shirakata <argrath@ub32.org>
+.\"*******************************************************************
 .\"
-.TH ABS 3  2010-09-20 "GNU" "Linux Programmer's Manual"
-.SH Ì¾Á°
-abs, labs, llabs, imaxabs \- À°¿ô¤ÎÀäÂÐÃͤò·×»»¤¹¤ë
-.SH ½ñ¼°
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH ABS 3 2010\-09\-20 GNU "Linux Programmer's Manual"
+.SH 名前
+abs, labs, llabs, imaxabs \- 整数の絶対値を計算する
+.SH 書式
 .nf
-.B #include <stdlib.h>
+\fB#include <stdlib.h>\fP
 .sp
-.BI "int abs(int " j );
+\fBint abs(int \fP\fIj\fP\fB);\fP
 .br
-.BI "long int labs(long int " j );
+\fBlong int labs(long int \fP\fIj\fP\fB);\fP
 .br
-.BI "long long int llabs(long long int " j );
+\fBlong long int llabs(long long int \fP\fIj\fP\fB);\fP
 .sp
-.B #include <inttypes.h>
+\fB#include <inttypes.h>\fP
 .sp
-.BI "intmax_t imaxabs(intmax_t " j );
+\fBintmax_t imaxabs(intmax_t \fP\fIj\fP\fB);\fP
 .fi
 .sp
 .in -4n
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
-.RB ( feature_test_macros (7)
-»²¾È):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
 .ad l
-.BR llabs ():
+\fBllabs\fP():
 .RS 4
-_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L;
+_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L;
 .br
-or
-.I cc\ -std=c99
+or \fIcc\ \-std=c99\fP
+.RE
 .ad
-.SH ÀâÌÀ
-.BR abs ()
-´Ø¿ô¤Ï¡¢À°¿ô¤Î°ú¿ô \fIj\fP ¤ÎÀäÂÐÃͤò·×»»¤¹¤ë¡£
-.BR labs (),
-.BR llabs (),
-.BR imaxabs ()
-´Ø¿ô¤Ï¡¢
-¤½¤ì¤¾¤ì¤Î´Ø¿ô¤Î·¿¤Ë±þ¤¸¤¿°ú¿ô \fIj\fP ¤ÎÀäÂÐÃͤò·×»»¤¹¤ë¡£
-.SH ÊÖ¤êÃÍ
-¤½¤ì¤¾¤ì¤Î´Ø¿ô¤Î·¿¤Ë±þ¤¸¤¿À°¿ô¤Î°ú¿ô¤ÎÀäÂÐÃͤòÊÖ¤¹¡£
-.SH ½àµò
-SVr4, POSIX.1-2001, 4.3BSD, C99.
-.\" POSIX.1 (1996 Ç¯ÈÇ) ¤Ï
+.SH 説明
+\fBabs\fP()  関数は、整数の引数 \fIj\fP の絶対値を計算する。 \fBlabs\fP(), \fBllabs\fP(), \fBimaxabs\fP()
+関数は、 それぞれの関数の型に応じた引数 \fIj\fP の絶対値を計算する。
+.SH 返り値
+それぞれの関数の型に応じた整数の引数の絶対値を返す。
+.SH 準拠
+.\" POSIX.1 (1996 edition) only requires the
 .\" .BR abs ()
-.\" ´Ø¿ô¤Î¤ß¤òÍ׵ᤷ¤Æ¤¤¤ë¡£
-C89 ¤Ï
-.BR abs ()
-´Ø¿ô¤È
-.BR labs ()
-´Ø¿ô¤Î¤ß¤ò´Þ¤ó¤Ç¤¤¤ë¡£
-.BR llabs ()
-´Ø¿ô¤È
-.BR imaxabs ()
-´Ø¿ô¤Ï C99 ¤ÇÄɲ䵤줿¡£
-.SH Ãí°Õ
-ºÇÂç¤ÎÉéÀ°¿ô¤ÎÀäÂÐÃͤϡ¢ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
+.\" function.
+SVr4, POSIX.1\-2001, 4.3BSD, C99.  C89 は \fBabs\fP()  関数と \fBlabs\fP()  関数のみを含んでいる。
+\fBllabs\fP()  関数と \fBimaxabs\fP()  関数は C99 で追加された。
+.SH 注意
+最大の負整数の絶対値は、定義されていない。
 .PP
-.BR llabs ()
-´Ø¿ô¤Ï¥Ð¡¼¥¸¥ç¥ó 2.0 ¤«¤é glibc ¤Ë´Þ¤Þ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤¬¡¢
-libc5 ¤ä libc4 ¤Ë¤Ï¤Ê¤¤¡£
-.BR imaxabs ()
-´Ø¿ô¤Ï ¥Ð¡¼¥¸¥ç¥ó 2.1.1 ¤«¤é glibc ¤Ë´Þ¤Þ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£
+\fBllabs\fP()  関数はバージョン 2.0 から glibc に含まれるようになったが、 libc5 や libc4 にはない。
+\fBimaxabs\fP()  関数は バージョン 2.1.1 から glibc に含まれるようになった。
 .PP
-.BR llabs ()
-¤¬Àë¸À¤µ¤ì¤ë¤¿¤á¤Ë¤Ï¡¢É¸½à¥Ø¥Ã¥À¤ò include ¤¹¤ëÁ°¤Ë
-\fB_ISOC99_SOURCE\fP ¤« \fB_ISOC9X_SOURCE\fP(¤É¤Á¤é¤«¤Ï glibc ¤Î
-¥Ð¡¼¥¸¥ç¥ó¤Ë°Í¸¤¹¤ë)¤ò define ¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ë¡£
+\fBllabs\fP()  が宣言されるためには、標準ヘッダを include する前に \fB_ISOC99_SOURCE\fP か
+\fB_ISOC9X_SOURCE\fP(どちらかは glibc の バージョンに依存する)を define しておく必要がある。
 .PP
-GCC ¤Ï
-.BR abs ()
-¤È
-.BR labs ()
-¤ò¥Ó¥ë¥É¥¤¥ó´Ø¿ô¤È¤·¤Æ°·¤¦¡£
-GCC 3.0 ¤Ï
-.BR llabs ()
-¤È
-.BR imaxabs ()
-¤â¥Ó¥ë¥É¥¤¥ó¤È¤·¤Æ°·¤¦¡£
-.SH ´ØÏ¢¹àÌÜ
-.BR cabs (3),
-.BR ceil (3),
-.BR fabs (3),
-.BR floor (3),
-.BR rint (3)
+GCC は \fBabs\fP()  と \fBlabs\fP()  をビルドイン関数として扱う。 GCC 3.0 は \fBllabs\fP()  と
+\fBimaxabs\fP()  もビルドインとして扱う。
+.SH 関連項目
+\fBcabs\fP(3), \fBceil\fP(3), \fBfabs\fP(3), \fBfloor\fP(3), \fBrint\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。