aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h11
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);
178extern void bb_xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); 181extern void bb_xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen);
179extern void bb_xlisten(int s, int backlog); 182extern void bb_xlisten(int s, int backlog);
180extern void bb_xchdir(const char *path); 183extern void bb_xchdir(const char *path);
184extern void utoa_to_buf(unsigned n, char *buf, unsigned buflen);
185extern char *utoa(unsigned n);
186extern void itoa_to_buf(int n, char *buf, unsigned buflen);
187extern char *itoa(int n);
181 188
182#define BB_GETOPT_ERROR 0x80000000UL 189#define BB_GETOPT_ERROR 0x80000000UL
183extern const char *bb_opt_complementally; 190extern const char *bb_opt_complementally;
@@ -331,7 +338,9 @@ char *dirname (char *path);
331 338
332int bb_make_directory (char *path, long mode, int flags); 339int bb_make_directory (char *path, long mode, int flags);
333 340
334const char *u_signal_names(const char *str_sig, int *signo, int startnum); 341int get_signum(char *name);
342char *get_signame(int number);
343
335char *bb_simplify_path(const char *path); 344char *bb_simplify_path(const char *path);
336 345
337enum { /* DO NOT CHANGE THESE VALUES! cp.c depends on them. */ 346enum { /* DO NOT CHANGE THESE VALUES! cp.c depends on them. */