Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by NavBot (vkp)

Wiki Markup
The formatted IO functions {{fprintf()}}, {{printf()}}, {{sprintf()}}, {{snprintf()}}, {{vfprintf()}}, {{vprintf()}}, {{vsprintf()}}, and {{vsnprintf()}} convert, format, and print their arguments under control of a _format_ string. According to \[[ISO/IEC 9899:1999|AA. References#ISOBibliography#ISO/IEC 9899-1999|Programming Languages---C]\]:

...

  • SPACE – the space (' ') character
  • N/E – No Effect
  • NTBS – char* argument pointing to a Null-Terminated Byte String
  • NTWS – wchar_t* argument pointing to a Null-Terminated Wide character String
  • XSI – ISO/IEC 9945-2003 XSI extension

Noncompliant Code Example

...

Wiki Markup
\[[ISO/IEC 9899:1999|AA. References#ISOBibliography#ISO/IEC 9899-1999]\] Section 7.19.6.1, "The {{fprintf}} function"
\[[MITRE 07|AA. References#MITREBibliography#MITRE 07]\] [CWE ID 686|http://cwe.mitre.org/data/definitions/686.html], "Function Call With Incorrect Argument Type"

...