O'Reilly logo
  • Ivan Petrov thinks this is interesting:

Upon success, fopen( ) returns a valid FILE pointer. On failure, it returns NULL, and sets errno appropriately.

From

Cover of Linux System Programming

Note

errors with fopen