OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man3 / alloca.3
index 60c906a..f45734a 100644 (file)
@@ -74,12 +74,11 @@ alloca \- 自動的に解放されるメモリを割り当てる
 
 \fBalloca\fP()  で割り当てられた空間を \fBfree\fP(3)  しようとすることのないように!
 .SS "GNU 版についての注意"
-Normally, \fBgcc\fP(1)  translates calls to \fBalloca\fP()  with inlined code.
-This is not done when either the \fI\-ansi\fP, \fI\-std=c89\fP, \fI\-std=c99\fP, or the
-\fI\-std=c11\fP option is given \fBand\fP the header \fI<alloca.h>\fP is not
-included.  Otherwise (without an \-ansi or \-std=c* option) the glibc version
-of \fI<stdlib.h>\fP includes \fI<alloca.h>\fP and that contains
-the lines:
+通常 \fBgcc\fP(1) は \fBalloca\fP()  の呼び出しをインラインコードに変換する。 \fI\-ansi\fP, \fI\-std=c89\fP,
+\fI\-std=c99\fP, \fI\-std=c11\fP のいずれかのオプションが指定され、\fBかつ\fP \fI<alloca.h>\fP
+がインクルードされていない場合、 この変換は行われない。 それ以外の場合 (\-ansi オプションも \-std=c* オプションも指定されない場合)
+には、 glibc 版の \fI<stdlib.h>\fP は \fI<alloca.h>\fP
+をインクルードするが、このファイルには以下の行が含まれており、
 .nf
 
     #ifdef  __GNUC__
@@ -87,7 +86,7 @@ the lines:
     #endif
 
 .fi
-独自版の __builtin_alloca (size) 関数がある厄介な結果になる。
+独自版の __builtin_alloca (size) 関数がある場合、厄介な結果になる。
 .LP
 このコードはインライン化されているので、 この関数のアドレスを取得したり、 他のライブラリをリンクして動作を変更することはできない。
 .LP