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

fprintf(stderr, "%s: %s (%s %d): some_system_call(%d, %d) failed: %s\n", argv[0], __func__, __FILE__, __LINE__,

From

Cover of Linux® Programming by Example

Note

even more flexible error reporting