diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-10-25 17:00:36 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-10-25 17:00:36 +0000 |
commit | b68c411383bd1717ecced5dab122e4f6204ca20e (patch) | |
tree | 88e77273fdc4f681859d3b3ef99507535c172f7b /include | |
parent | bc92f429cb063af433650a4972ddf1d63d3cabf1 (diff) | |
download | busybox-w32-b68c411383bd1717ecced5dab122e4f6204ca20e.tar.gz busybox-w32-b68c411383bd1717ecced5dab122e4f6204ca20e.tar.bz2 busybox-w32-b68c411383bd1717ecced5dab122e4f6204ca20e.zip |
Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSE
uses, and other minor fixes.
git-svn-id: svn://busybox.net/trunk/busybox@1239 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-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 e55f17cdd..d947ba328 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 perrorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); | ||
348 | extern void fatalPerror(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); | 349 | extern void fatalPerror(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); |
349 | 350 | ||
350 | const char *modeString(int mode); | 351 | const char *modeString(int mode); |