...
Wiki Markup |
---|
This compliant solution shows the redesigned API for {{sprintf()}} from the CERT managed string library \[[Burch 06|AA. References#Burch06Bibliography#Burch06]\]. |
Code Block | ||
---|---|---|
| ||
errno_t sprintf_m( string_m buf, const string_m fmt, int *count, ... ); |
...
Wiki Markup |
---|
\[[Burch 06|AA. References#Burch06Bibliography#Burch06]\] \[[ISO/IEC 9899:1999|AA. References#ISOBibliography#ISO/IEC 9899-1999]\] Section 6.2.4, "Storage durations of objects," and Section 7.20.3, "Memory management functions" \[[ISO/IEC PDTR 24772|AA. References#ISOBibliography#ISO/IEC PDTR 24772]\] "NZN Returning error status" \[[ISO/IEC TR 24731-1:2007|AA. References#ISOBibliography#ISO/IEC TR 24731-1-2007]\] |
...
12. Error Handling (ERR) ERR03-C. Use runtime-constraint handlers when calling functions defined by TR24731-1