...
Wiki Markup |
---|
In the following code example, the variadic function {{average()}} calculates the average value of the positive integer arguments passed to the function \[[Seacord 05c2005c|AA. Bibliography#Seacord 05c]\]. The function processes arguments until it encounters an argument with the value of {{va_eol}} ({{\-1}}). |
...
Wiki Markup |
---|
\[[ISO/IEC 9899:1999|AA. Bibliography#ISO/IEC 9899-1999]\] Section 7.15, "Variable arguments," and Section 7.19.6.8, "The {{vfprintf}} function" \[[ISO/IEC PDTR 24772|AA. Bibliography#ISO/IEC PDTR 24772]\] "OTR Subprogram Signature Mismatch" \[[MISRA 042004|AA. Bibliography#MISRA 04]\] Rule 16.1 \[[MITRE 072007|AA. Bibliography#MITRE 07]\] [CWE ID 628|http://cwe.mitre.org/data/definitions/628.html], "Function Call with Incorrectly Specified Arguments" \[[Seacord 05c2005c|AA. Bibliography#Seacord 05c]\] |
...