...
In the following code example, the variadic function average()
calculates the average value of the positive integer arguments passed to the function [Seacord 2005c2013]. The function processes arguments until it encounters an argument with the value of va_eol
(-1
).
...
ISO/IEC TR 24772:2013 | Subprogram Signature Mismatch [OTR] |
MISRA-C | Rule 16.1 |
MITRE CWE | CWE-628, Function call with incorrectly specified arguments |
Bibliography
[Seacord 2005c]2013] | Chapter 6, "Formatted Output" |
...