Versions Compared

Key

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

...

Wiki Markup
\[[Miller 04|AA. C References#Miller 04]\] Practice 23 says:

...

  • Wiki Markup
    Source and object code can significantly increase in size, perhaps by as much as 30 to 40 percent \[[Saks 07b|AA. C References#Saks 07b]\].
  • All function return values must be checked (see MEM32-C. Detect and handle memory allocation errors).
  • Functions should not return other values if they return error indicators (see ERR02-C. Avoid in-band error indicators.)
  • Any function that allocates resources must ensure they are freed in_cases where errors occur.

...

Wiki Markup
\[[Miller 04|AA. C References#Miller 04]\]
\[[Saks 07b|AA. C References#Saks 07b]\]

...

      12. Error Handling (ERR)