Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...