OSDN Git Service

(split) LDP: Update releases based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / release / man3 / alloca.3
index 2eec653..60c906a 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright (c) 1980, 1991 Regents of the University of California.
 .\" All rights reserved.
 .\"
+.\" %%%LICENSE_START(BSD_4_CLAUSE_UCB)
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
@@ -28,6 +29,7 @@
 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
+.\" %%%LICENSE_END
 .\"
 .\"     @(#)alloca.3   5.1 (Berkeley) 5/2/91
 .\"
@@ -43,7 +45,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH ALLOCA 3 2008\-01\-24 GNU "Linux Programmer's Manual"
+.TH ALLOCA 3 2013\-05\-12 GNU "Linux Programmer's Manual"
 .SH 名前
 alloca \- 自動的に解放されるメモリを割り当てる
 .SH 書式
@@ -72,14 +74,17 @@ alloca \- 自動的に解放されるメモリを割り当てる
 
 \fBalloca\fP()  で割り当てられた空間を \fBfree\fP(3)  しようとすることのないように!
 .SS "GNU 版についての注意"
-通常 \fBgcc\fP(1)  は \fBalloca\fP()  の呼び出しをインラインコードに変換する。 \fI\-ansi\fP, \fI\-std=c89\fP,
-\fI\-std=c99\fP, \fI\-fno\-builtin\fP のいずれかのオプションが指定された場合、この変換は行われない (また
-\fI<alloca.h>\fP のインクルードも行われない)。 だだし、デフォルトでは glibc 版の
-\fI<stdlib.h>\fP は \fI<alloca.h>\fP
-をインクルードしており、これには以下の行が含まれているので注意すること。
+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:
 .nf
 
+    #ifdef  __GNUC__
     #define alloca(size)   __builtin_alloca (size)
+    #endif
 
 .fi
 独自版の __builtin_alloca (size) 関数があると厄介な結果になる。
@@ -97,6 +102,6 @@ alloca \- 自動的に解放されるメモリを割り当てる
 .SH 関連項目
 \fBbrk\fP(2), \fBlongjmp\fP(3), \fBmalloc\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。