OSDN Git Service

(split) LDP: Update release (3.64)
[linuxjm/LDP_man-pages.git] / release / man3 / scanf.3
index 5e1a7be..0c598ff 100644 (file)
@@ -338,10 +338,9 @@ also specified by the ISO C standard as a synonym for \fBf\fP (floating\-point
 input).  POSIX.1\-2008 instead specifies the \fBm\fP modifier for assignment
 allocation (as documented in DESCRIPTION, above).
 .PP
-Note that the \fBa\fP modifier is not available if the program is compiled with
-\fIgcc \-std=c99\fP or \fIgcc \-D_ISOC99_SOURCE\fP (unless \fB_GNU_SOURCE\fP is also
-specified), in which case the \fBa\fP is interpreted as a specifier for
-floating\-point numbers (see above).
+\fBa\fP 修飾子は \fIgcc \-std=c99\fP や \fIgcc \-D_ISOC99_SOURCE\fP でコンパイルしたプログラムでは
+(\fB_GNU_SOURCE\fP も同時に指定していない場合) 利用できない点に注意。この場合、 \fBa\fP は (上述の通り)
+浮動小数点数を示す変換指定子と解釈される。
 
 Support for the \fBm\fP modifier was added to glibc starting with version 2.7,
 and new programs should use that modifier instead of \fBa\fP.
@@ -351,8 +350,7 @@ further advantages over the use of \fBa:\fP
 .IP * 2
 \fB%c\fP 変換指定子にも適用できる (例えば \fB%3mc\fP)。
 .IP *
-It avoids ambiguity with respect to the \fB%a\fP floating\-point conversion
-specifier (and is unaffected by \fIgcc \-std=c99\fP etc.).
+浮動小数点変換指定子としての \fB%a\fP との紛らわしさが避けられる (また \fIgcc \-std=c99\fP などの影響も避けられる)。
 .SH バグ
 全ての関数は、完全に C89 に準拠している。しかし 追加で \fBq\fP と \fBa\fP 指定子が提供されており、同様に \fBL\fP と \fBl\fP
 指定子の付加的な振る舞いもある。後者は、 C89 で定義された指定子の振る舞いを変更するものなので、 バグとみなされるかもしれない。
@@ -393,6 +391,6 @@ if (n == 1) {
 \fBgetc\fP(3), \fBprintf\fP(3)  \fBsetlocale\fP(3), \fBstrtod\fP(3), \fBstrtol\fP(3),
 \fBstrtoul\fP(3),
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。