#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:57+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages-posix/man0p/stdarg.h.0p:2 #, no-wrap msgid "stdarg.h" msgstr "" #. type: TH #: man-pages-posix/man0p/stdarg.h.0p:2 #, no-wrap msgid "2013" msgstr "" #. type: TH #: man-pages-posix/man0p/stdarg.h.0p:2 #, no-wrap msgid "IEEE/The Open Group" msgstr "" #. type: TH #: man-pages-posix/man0p/stdarg.h.0p:2 #, no-wrap msgid "POSIX Programmer's Manual" msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:3 #, no-wrap msgid "PROLOG" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:8 msgid "" "This manual page is part of the POSIX Programmer's Manual. The Linux " "implementation of this interface may differ (consult the corresponding Linux " "manual page for details of Linux behavior), or the interface may not be " "implemented on Linux." msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:9 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:12 msgid "stdarg.h \\(em handle variable argument list" msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:12 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:16 #, no-wrap msgid "#include Estdarg.hE\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:21 #, no-wrap msgid "" "void va_start(va_list I, I);\n" "void va_copy(va_list I, va_list I);\n" "I va_arg(va_list I, I);\n" "void va_end(va_list I);\n" msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:22 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:26 msgid "" "The functionality described on this reference page is aligned with the ISO\\ " "C standard. Any conflict between the requirements described here and the " "ISO\\ C standard is unintentional. This volume of POSIX.1\\(hy2008 defers to " "the ISO\\ C standard." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:35 msgid "" "The Istdarg.hE> header shall contain a set of macros which allows " "portable functions that accept variable argument lists to be written. " "Functions that have variable argument lists (such as I()) but do " "not use these macros are inherently non-portable, as different systems use " "different argument-passing conventions." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:41 msgid "" "The Istdarg.hE> header shall define the B type for " "variables used to traverse the list." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:48 msgid "" "The I() macro is invoked to initialize I to the beginning of " "the list before any calls to I()." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:73 msgid "" "The I() macro initializes I as a copy of I, as if the " "I() macro had been applied to I followed by the same " "sequence of uses of the I() macro as had previously been used to " "reach the present state of I. Neither the I() nor " "I() macro shall be invoked to reinitialize I without an " "intervening invocation of the I() macro for the same I." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:98 msgid "" "The object I may be passed as an argument to another function; if that " "function invokes the I() macro with parameter I, the value of " "I in the calling function is unspecified and shall be passed to the " "I() macro prior to any further reference to I. The parameter " "I is the identifier of the rightmost parameter in the variable " "parameter list in the function definition (the one just before the .\\|.\\|." "). If the parameter I is declared with the B storage class, " "with a function type or array type, or with a type that is not compatible " "with the type that results after application of the default argument " "promotions, the behavior is undefined." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:118 msgid "" "The I() macro shall return the next argument in the list pointed to " "by I. Each invocation of I() modifies I so that the values " "of successive arguments are returned in turn. The I parameter shall be " "a type name specified such that the type of a pointer to an object that has " "the specified type can be obtained simply by postfixing a B<'*'> to type. If " "there is no actual next argument, or if I is not compatible with the " "type of the actual next argument (as promoted according to the default " "argument promotions), the behavior is undefined, except for the following " "cases:" msgstr "" #. type: IP #: man-pages-posix/man0p/stdarg.h.0p:118 man-pages-posix/man0p/stdarg.h.0p:121 man-pages-posix/man0p/stdarg.h.0p:125 #, no-wrap msgid " *" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:121 msgid "" "One type is a signed integer type, the other type is the corresponding " "unsigned integer type, and the value is representable in both types." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:125 msgid "" "One type is a pointer to B and the other is a pointer to a character " "type." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:127 msgid "Both types are pointers." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:130 msgid "" "Different types can be mixed, but it is up to the routine to know what type " "of argument is expected." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:140 msgid "" "The I() macro is used to clean up; it invalidates I for use " "(unless I() or I() is invoked again)." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:148 msgid "" "Each invocation of the I() and I() macros shall be " "matched by a corresponding invocation of the I() macro in the same " "function." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:154 msgid "" "Multiple traversals, each bracketed by I() \\&.\\|.\\|. " "I(), are possible." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:156 msgid "I" msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:156 #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:159 msgid "This example is a possible implementation of I():" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:164 #, no-wrap msgid "B<\n" "#include Estdarg.hE>\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:166 #, no-wrap msgid "#define MAXARGS 31\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:176 #, no-wrap msgid "" "/*\n" " * execl is called by\n" " * execl(file, arg1, arg2, ..., (char *)(0));\n" " */\n" "int execl(const char *file, const char *args, ...)\n" "{\n" " va_list ap;\n" " char *array[MAXARGS +1];\n" " int argno = 0;\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:187 #, no-wrap msgid "" " va_start(ap, args);\n" " while (args != 0 && argno E MAXARGS)\n" " {\n" " array[argno++] = args;\n" " args = va_arg(ap, const char *);\n" " }\n" " array[argno] = (char *) 0;\n" " va_end(ap);\n" " return execv(file, array);\n" "}\n" msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:190 #, no-wrap msgid "APPLICATION USAGE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:200 msgid "" "It is up to the calling routine to communicate to the called routine how " "many arguments there are, since it is not always possible for the called " "routine to determine this in any other way. For example, I() is " "passed a null pointer to signal the end of the list. The I() " "function can tell how many arguments are there by the I argument." msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:200 #, no-wrap msgid "RATIONALE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:202 man-pages-posix/man0p/stdarg.h.0p:204 msgid "None." msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:202 #, no-wrap msgid "FUTURE DIRECTIONS" msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:204 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:208 msgid "" "The System Interfaces volume of POSIX.1\\(hy2008, I\\^, " "I\\^(\\|)" msgstr "" #. type: SH #: man-pages-posix/man0p/stdarg.h.0p:208 #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:219 msgid "" "Portions of this text are reprinted and reproduced in electronic form from " "IEEE Std 1003.1, 2013 Edition, Standard for Information Technology -- " "Portable Operating System Interface (POSIX), The Open Group Base " "Specifications Issue 7, Copyright (C) 2013 by the Institute of Electrical " "and Electronics Engineers, Inc and The Open Group. (This is POSIX.1-2008 " "with the 2013 Technical Corrigendum 1 applied.) In the event of any " "discrepancy between this version and the original IEEE and The Open Group " "Standard, the original IEEE and The Open Group Standard is the referee " "document. The original Standard can be obtained online at http://www.unix." "org/online.html ." msgstr "" #. type: Plain text #: man-pages-posix/man0p/stdarg.h.0p:224 msgid "" "Any typographical or formatting errors that appear in this page are most " "likely to have been introduced during the conversion of the source files to " "man page format. To report such errors, see https://www.kernel.org/doc/man-" "pages/reporting_bugs.html ." msgstr ""