aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-10-25 15:10:08 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-10-25 15:10:08 +0000
commitd884fd48538f66a59b139d4b7673cd965673aaad (patch)
tree137420d5835bb40bc9712e895da5377c664bd4b3 /include
parent7afa190a358e69eab1b2f45dd7e26e218306fee4 (diff)
downloadbusybox-w32-d884fd48538f66a59b139d4b7673cd965673aaad.tar.gz
busybox-w32-d884fd48538f66a59b139d4b7673cd965673aaad.tar.bz2
busybox-w32-d884fd48538f66a59b139d4b7673cd965673aaad.zip
Added a fatalPerror function to simplify error handling.
git-svn-id: svn://busybox.net/trunk/busybox@1234 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/busybox.h1
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;
345extern void usage(const char *usage) __attribute__ ((noreturn)); 345extern void usage(const char *usage) __attribute__ ((noreturn));
346extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); 346extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
347extern void fatalError(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); 347extern void fatalError(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
348extern void fatalPerror(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
348 349
349const char *modeString(int mode); 350const char *modeString(int mode);
350const char *timeString(time_t timeVal); 351const char *timeString(time_t timeVal);