From 324a778f31ac99f2c9d947a99dc4c37902bde6fe Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 25 Oct 2000 15:10:08 +0000 Subject: Added a fatalPerror function to simplify error handling. --- include/busybox.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/busybox.h b/include/busybox.h index 7f4d55f3d..e55f17cdd 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 fatalPerror(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); const char *modeString(int mode); const char *timeString(time_t timeVal); -- cgit v1.2.3