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

fprintf(stderr, "%s: %d, %d: some_system_call failed: %s\n", argv[0], param1, param2, strerror(errno));

From

Cover of Linux® Programming by Example

Note

more flexible error reporting