summaryrefslogtreecommitdiff
path: root/busybox.h
diff options
context:
space:
mode:
authorMatt Kraai2000-10-25 17:00:36 +0000
committerMatt Kraai2000-10-25 17:00:36 +0000
commitef5529b27865adc79cd4d48f932d477b1d79b94e (patch)
tree88e77273fdc4f681859d3b3ef99507535c172f7b /busybox.h
parent9133c98a9d5b26fd645d30f70c4cf994aea972e9 (diff)
downloadbusybox-ef5529b27865adc79cd4d48f932d477b1d79b94e.zip
busybox-ef5529b27865adc79cd4d48f932d477b1d79b94e.tar.gz
Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSE
uses, and other minor fixes.
Diffstat (limited to 'busybox.h')
-rw-r--r--busybox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/busybox.h b/busybox.h
index e55f17c..d947ba3 100644
--- a/busybox.h
+++ b/busybox.h
@@ -345,6 +345,7 @@ extern const char *applet_name;
extern void usage(const char *usage) __attribute__ ((noreturn));
extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
extern void fatalError(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
+extern void perrorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
extern void fatalPerror(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
const char *modeString(int mode);