From 6c616ce87be8fa21974fe2d65f2a67443d8c8fef Mon Sep 17 00:00:00 2001 From: Karel Klic Date: Fri, 12 Feb 2010 12:58:52 +0100 Subject: Added comment to perror_msg declaration. --- inc/abrtlib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'inc') diff --git a/inc/abrtlib.h b/inc/abrtlib.h index 97aa28b8..2f7b3bf7 100644 --- a/inc/abrtlib.h +++ b/inc/abrtlib.h @@ -76,6 +76,7 @@ void log_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); /* error_msg family will use g_custom_logger. log_msg does not. */ void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); void error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); +/* Reports error message with libc's errno error description attached. */ void perror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); void perror_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); void perror_nomsg_and_die(void) NORETURN; -- cgit