10 static unsigned int error_message_count
= 0;
12 static inline void error(int status
, int errnum
, const char* format
, ...)
15 fprintf(stderr
, "%s: ", program_invocation_name
);
17 vfprintf(stderr
, format
, ap
);
20 fprintf(stderr
, ": %s", strerror(errnum
));
21 fprintf(stderr
, "\n");
22 error_message_count
++;
27 #endif /* _ERROR_H_ */