diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 0a52b6421..2f9041273 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -16,6 +16,7 @@ | |||
16 | 16 | ||
17 | #include <ctype.h> | 17 | #include <ctype.h> |
18 | #include <dirent.h> | 18 | #include <dirent.h> |
19 | #include <errno.h> | ||
19 | #include <fcntl.h> | 20 | #include <fcntl.h> |
20 | #include <inttypes.h> | 21 | #include <inttypes.h> |
21 | #include <netdb.h> | 22 | #include <netdb.h> |
@@ -25,10 +26,12 @@ | |||
25 | #include <stdarg.h> | 26 | #include <stdarg.h> |
26 | #include <string.h> | 27 | #include <string.h> |
27 | #include <strings.h> | 28 | #include <strings.h> |
29 | #include <sys/ioctl.h> | ||
28 | #include <sys/socket.h> | 30 | #include <sys/socket.h> |
29 | #include <sys/stat.h> | 31 | #include <sys/stat.h> |
30 | #include <sys/time.h> | 32 | #include <sys/time.h> |
31 | #include <sys/types.h> | 33 | #include <sys/types.h> |
34 | #include <sys/wait.h> | ||
32 | #include <termios.h> | 35 | #include <termios.h> |
33 | #include <unistd.h> | 36 | #include <unistd.h> |
34 | 37 | ||
@@ -178,6 +181,10 @@ extern void bb_xdaemon(int nochdir, int noclose); | |||
178 | extern void bb_xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); | 181 | extern void bb_xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); |
179 | extern void bb_xlisten(int s, int backlog); | 182 | extern void bb_xlisten(int s, int backlog); |
180 | extern void bb_xchdir(const char *path); | 183 | extern void bb_xchdir(const char *path); |
184 | extern void utoa_to_buf(unsigned n, char *buf, unsigned buflen); | ||
185 | extern char *utoa(unsigned n); | ||
186 | extern void itoa_to_buf(int n, char *buf, unsigned buflen); | ||
187 | extern char *itoa(int n); | ||
181 | 188 | ||
182 | #define BB_GETOPT_ERROR 0x80000000UL | 189 | #define BB_GETOPT_ERROR 0x80000000UL |
183 | extern const char *bb_opt_complementally; | 190 | extern const char *bb_opt_complementally; |
@@ -331,7 +338,9 @@ char *dirname (char *path); | |||
331 | 338 | ||
332 | int bb_make_directory (char *path, long mode, int flags); | 339 | int bb_make_directory (char *path, long mode, int flags); |
333 | 340 | ||
334 | const char *u_signal_names(const char *str_sig, int *signo, int startnum); | 341 | int get_signum(char *name); |
342 | char *get_signame(int number); | ||
343 | |||
335 | char *bb_simplify_path(const char *path); | 344 | char *bb_simplify_path(const char *path); |
336 | 345 | ||
337 | enum { /* DO NOT CHANGE THESE VALUES! cp.c depends on them. */ | 346 | enum { /* DO NOT CHANGE THESE VALUES! cp.c depends on them. */ |