summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2009-10-26 23:27:08 +0100
committerDenys Vlasenko2009-10-27 17:17:34 +0100
commita48308701a4d89d7cc0d0557cfabaec94a0bb3b0 (patch)
treea7b2baa086249a6c37c3479f28f4a680a1133a64 /include/libbb.h
parentca254490d703c750390042c9afa21d1537c90e9a (diff)
downloadbusybox-a48308701a4d89d7cc0d0557cfabaec94a0bb3b0.zip
busybox-a48308701a4d89d7cc0d0557cfabaec94a0bb3b0.tar.gz
add and use xopen_nonblocking (-18b)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 9865121..d2b7437 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -400,6 +400,7 @@ void bb_unsetenv(const char *key) FAST_FUNC;
void xunlink(const char *pathname) FAST_FUNC;
void xstat(const char *pathname, struct stat *buf) FAST_FUNC;
int xopen(const char *pathname, int flags) FAST_FUNC;
+int xopen_nonblocking(const char *pathname) FAST_FUNC;
int xopen3(const char *pathname, int flags, int mode) FAST_FUNC;
int open_or_warn(const char *pathname, int flags) FAST_FUNC;
int open3_or_warn(const char *pathname, int flags, int mode) FAST_FUNC;