summaryrefslogtreecommitdiff
path: root/busybox.h
diff options
context:
space:
mode:
authorMatt Kraai2000-10-25 15:10:08 +0000
committerMatt Kraai2000-10-25 15:10:08 +0000
commit324a778f31ac99f2c9d947a99dc4c37902bde6fe (patch)
tree137420d5835bb40bc9712e895da5377c664bd4b3 /busybox.h
parentb60208dd8fe3328a5db8be1dc958e62c9898a73b (diff)
downloadbusybox-324a778f31ac99f2c9d947a99dc4c37902bde6fe.zip
busybox-324a778f31ac99f2c9d947a99dc4c37902bde6fe.tar.gz
Added a fatalPerror function to simplify error handling.
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 7f4d55f..e55f17c 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 fatalPerror(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
const char *modeString(int mode);
const char *timeString(time_t timeVal);