Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 05c|AA. References#SeacordBibliography#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. References#ISOBibliography#ISO/IEC 9899-1999]\] Section 7.15, "Variable arguments," and Section 7.19.6.8, "The {{vfprintf}} function"
\[[ISO/IEC PDTR 24772|AA. References#ISOBibliography#ISO/IEC PDTR 24772]\] "OTR Subprogram Signature Mismatch"
\[[MISRA 04|AA. References#MISRABibliography#MISRA 04]\] Rule 16.1
\[[MITRE 07|AA. References#MITREBibliography#MITRE 07]\] [CWE ID 628|http://cwe.mitre.org/data/definitions/628.html], "Function Call with Incorrectly Specified Arguments"
\[[Seacord 05c|AA. References#SeacordBibliography#Seacord 05c]\]

...

      02. Declarations and Initialization (DCL)