Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. Functions return 0 if false, and non-zero if true [1].
  2. Function failures can typically be indicated by -1 or any non-zero number.
  3. Comparison functions return 0 if the arguments are equal and non-zero otherwise (such as the standard library function strcmp(), which has a trinary return value) [2]).

Noncompliant Code Example

...