summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatt Kraai2000-10-25 17:00:36 +0000
committerMatt Kraai2000-10-25 17:00:36 +0000
commitef5529b27865adc79cd4d48f932d477b1d79b94e (patch)
tree88e77273fdc4f681859d3b3ef99507535c172f7b /include
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 'include')
-rw-r--r--include/busybox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h
index e55f17c..d947ba3 100644
--- a/include/busybox.h
+++ b/include/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);