aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-04-12 17:55:51 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-04-12 17:55:51 +0000
commit00657c96b9b3963230d89ccc3dc2959d034673e7 (patch)
tree0e4c34863628d79fdad0c6217f4deb0ca0a91c33 /include
parentfa6199c4ed8fdbb6901f43a06fb22d37e6e9b9e1 (diff)
downloadbusybox-w32-00657c96b9b3963230d89ccc3dc2959d034673e7.tar.gz
busybox-w32-00657c96b9b3963230d89ccc3dc2959d034673e7.tar.bz2
busybox-w32-00657c96b9b3963230d89ccc3dc2959d034673e7.zip
- patch from Denis Vlasenko to add and use bb_xsocket() and to use
bb_xopen some more while at it. Also use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@14833 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index d3634f95d..c031f2841 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -145,6 +145,7 @@ extern int bb_fclose_nonstdin(FILE *f);
145extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; 145extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN;
146 146
147extern void xstat(const char *filename, struct stat *buf); 147extern void xstat(const char *filename, struct stat *buf);
148extern int bb_xsocket(int domain, int type, int protocol);
148 149
149#define BB_GETOPT_ERROR 0x80000000UL 150#define BB_GETOPT_ERROR 0x80000000UL
150extern const char *bb_opt_complementally; 151extern const char *bb_opt_complementally;