diff options
author | Matt Kraai <kraai@debian.org> | 2000-10-25 17:00:36 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-10-25 17:00:36 +0000 |
commit | ef5529b27865adc79cd4d48f932d477b1d79b94e (patch) | |
tree | 88e77273fdc4f681859d3b3ef99507535c172f7b /include/busybox.h | |
parent | 9133c98a9d5b26fd645d30f70c4cf994aea972e9 (diff) | |
download | busybox-w32-ef5529b27865adc79cd4d48f932d477b1d79b94e.tar.gz busybox-w32-ef5529b27865adc79cd4d48f932d477b1d79b94e.tar.bz2 busybox-w32-ef5529b27865adc79cd4d48f932d477b1d79b94e.zip |
Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSE
uses, and other minor fixes.
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 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); |