#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:54+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man3/alloca.3:43 #, no-wrap msgid "ALLOCA" msgstr "" #. type: TH #: man-pages/man3/alloca.3:43 #, no-wrap msgid "2013-10-07" msgstr "" #. type: TH #: man-pages/man3/alloca.3:43 #, no-wrap msgid "GNU" msgstr "" #. type: TH #: man-pages/man3/alloca.3:43 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man3/alloca.3:44 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:46 msgid "alloca - allocate memory that is automatically freed" msgstr "" #. type: SH #: man-pages/man3/alloca.3:46 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:48 msgid "B<#include Ealloca.hE>" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:50 msgid "BIB<);>" msgstr "" #. type: SH #: man-pages/man3/alloca.3:50 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:60 msgid "" "The B() function allocates I bytes of space in the stack " "frame of the caller. This temporary space is automatically freed when the " "function that called B() returns to its caller." msgstr "" #. type: SH #: man-pages/man3/alloca.3:60 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:65 msgid "" "The B() function returns a pointer to the beginning of the " "allocated space. If the allocation causes stack overflow, program behavior " "is undefined." msgstr "" #. type: SH #: man-pages/man3/alloca.3:65 #, no-wrap msgid "ATTRIBUTES" msgstr "" #. type: SS #: man-pages/man3/alloca.3:66 #, no-wrap msgid "Multithreading (see pthreads(7))" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:70 msgid "The B() function is thread-safe." msgstr "" #. type: SH #: man-pages/man3/alloca.3:70 #, no-wrap msgid "CONFORMING TO" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:72 msgid "This function is not in POSIX.1-2001." msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:78 msgid "" "There is evidence that the B() function appeared in 32V, PWB, PWB." "2, 3BSD, and 4BSD. There is a man page for it in 4.3BSD. Linux uses the " "GNU version." msgstr "" #. type: SH #: man-pages/man3/alloca.3:78 #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:93 msgid "" "The B() function is machine- and compiler-dependent. For certain " "applications, its use can improve efficiency compared to the use of " "B(3) plus B(3). In certain cases, it can also simplify " "memory deallocation in applications that use B(3) or " "B(3). Otherwise, its use is discouraged." msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:102 msgid "" "Because the space allocated by B() is allocated within the stack " "frame, that space is automatically freed if the function return is jumped " "over by a call to B(3) or B(3)." msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:107 msgid "Do not attempt to B(3) space allocated by B()!" msgstr "" #. type: SS #: man-pages/man3/alloca.3:107 #, no-wrap msgid "Notes on the GNU version" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:129 msgid "" "Normally, B(1) translates calls to B() with inlined code. " "This is not done when either the I<-ansi>, I<-std=c89>, I<-std=c99>, or the " "I<-std=c11> option is given B the header Ialloca.hE> is not " "included. Otherwise, (without an -ansi or -std=c* option) the glibc version " "of Istdlib.hE> includes Ialloca.hE> and that contains " "the lines:" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:134 #, no-wrap msgid "" " #ifdef __GNUC__\n" " #define alloca(size) __builtin_alloca (size)\n" " #endif\n" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:137 msgid "with messy consequences if one has a private version of this function." msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:141 msgid "" "The fact that the code is inlined means that it is impossible to take the " "address of this function, or to change its behavior by linking with a " "different library." msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:145 msgid "" "The inlined code often consists of a single instruction adjusting the stack " "pointer, and does not check for stack overflow. Thus, there is no NULL " "error return." msgstr "" #. type: SH #: man-pages/man3/alloca.3:145 #, no-wrap msgid "BUGS" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:150 msgid "" "There is no error indication if the stack frame cannot be extended. " "(However, after a failed allocation, the program is likely to receive a " "B signal if it attempts to access the unallocated space.)" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:158 msgid "" "On many systems B() cannot be used inside the list of arguments of " "a function call, because the stack space reserved by B() would " "appear on the stack in the middle of the space for the function arguments." msgstr "" #. type: SH #: man-pages/man3/alloca.3:158 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:162 msgid "B(2), B(3), B(3)" msgstr "" #. type: SH #: man-pages/man3/alloca.3:162 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man3/alloca.3:170 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""