diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-02 09:02:46 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-02 09:02:46 +0400 |
commit | 34506361697643277042fc8d7294bc17a27d4e28 (patch) | |
tree | bf2c45a12020be4e0a37547abb50c40c0074e8ec /include | |
parent | 2d91deba45d5a284614e06cc55e2be03599ca26d (diff) |
Latest patch from vodz. Adds a check for divide by zero in the posix
math suport, cleaner math syntax error checking, moves redundant signal
string tables (from kill and ash) into libbb and provides a few
cleanups elsewhere.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 66acc2278..df52027ce 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -212,7 +212,7 @@ char *xreadlink(const char *path); char *concat_path_file(const char *path, const char *filename); char *last_char_is(const char *s, int c); -extern long arith (const char *startbuf); +extern long arith (const char *startbuf, int *errcode); typedef struct file_headers_s { char *name; @@ -261,6 +261,8 @@ char *dirname (const char *path); int make_directory (char *path, mode_t mode, int flags); +const char *u_signal_names(const char *str_sig, int *signo, int startnum); + #define CT_AUTO 0 #define CT_UNIX2DOS 1 #define CT_DOS2UNIX 2 |