Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: foo() changed to validateUser() on rev13.

...

Although failures are frequently indicated by a return value of 0, some common conventions may conflict in the future with code in which the test for nonzero is not explicit. In this case, defaulting the test for nonzero welcomes bugs if and when a developer modifies foovalidateUser() to return an error code or −1 rather than 0 to indicate a failure (all of which are also common conventions).

...