summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-02-12 12:58:52 +0100
committerKarel Klic <kklic@redhat.com>2010-02-12 12:58:52 +0100
commit6c616ce87be8fa21974fe2d65f2a67443d8c8fef (patch)
tree009f67c4bf1ee69eb22950d449439d736e6d2c5e /inc
parentb2903ca6b5ddf65d4e9f390649797546568c0170 (diff)
downloadabrt-6c616ce87be8fa21974fe2d65f2a67443d8c8fef.tar.gz
abrt-6c616ce87be8fa21974fe2d65f2a67443d8c8fef.tar.xz
abrt-6c616ce87be8fa21974fe2d65f2a67443d8c8fef.zip
Added comment to perror_msg declaration.
Diffstat (limited to 'inc')
-rw-r--r--inc/abrtlib.h1
1 files changed, 1 insertions, 0 deletions
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;