diff options
author | Matt Kraai <kraai@debian.org> | 2000-10-25 15:10:08 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-10-25 15:10:08 +0000 |
commit | 324a778f31ac99f2c9d947a99dc4c37902bde6fe (patch) | |
tree | 137420d5835bb40bc9712e895da5377c664bd4b3 /include/busybox.h | |
parent | b60208dd8fe3328a5db8be1dc958e62c9898a73b (diff) | |
download | busybox-w32-324a778f31ac99f2c9d947a99dc4c37902bde6fe.tar.gz busybox-w32-324a778f31ac99f2c9d947a99dc4c37902bde6fe.tar.bz2 busybox-w32-324a778f31ac99f2c9d947a99dc4c37902bde6fe.zip |
Added a fatalPerror function to simplify error handling.
Diffstat (limited to 'include/busybox.h')
-rw-r--r-- | include/busybox.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; | |||
345 | extern void usage(const char *usage) __attribute__ ((noreturn)); | 345 | extern void usage(const char *usage) __attribute__ ((noreturn)); |
346 | extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); | 346 | extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); |
347 | extern void fatalError(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); | 347 | extern void fatalError(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); |
348 | extern void fatalPerror(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); | ||
348 | 349 | ||
349 | const char *modeString(int mode); | 350 | const char *modeString(int mode); |
350 | const char *timeString(time_t timeVal); | 351 | const char *timeString(time_t timeVal); |