diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-13 12:45:04 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-13 12:45:04 +0000 |
commit | c2cb0f32b44a9918364af39c24b5643388c553f6 (patch) | |
tree | 378b5a002da81f8622913cc6a9aeac873e307ec9 /include | |
parent | 4f3d2deaa499af34c22a7f9be121131b0a5894b5 (diff) | |
download | busybox-w32-c2cb0f32b44a9918364af39c24b5643388c553f6.tar.gz busybox-w32-c2cb0f32b44a9918364af39c24b5643388c553f6.tar.bz2 busybox-w32-c2cb0f32b44a9918364af39c24b5643388c553f6.zip |
- patch from Denis Vlasenko to add and use bb_xopen3()
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index e1ac912f6..8fc2dbbc8 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -440,6 +440,7 @@ extern struct spwd *pwd_to_spwd(const struct passwd *pw); | |||
440 | extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); | 440 | extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); |
441 | 441 | ||
442 | extern int bb_xopen(const char *pathname, int flags); | 442 | extern int bb_xopen(const char *pathname, int flags); |
443 | extern int bb_xopen3(const char *pathname, int flags, int mode); | ||
443 | extern ssize_t bb_xread(int fd, void *buf, size_t count); | 444 | extern ssize_t bb_xread(int fd, void *buf, size_t count); |
444 | extern void bb_xread_all(int fd, void *buf, size_t count); | 445 | extern void bb_xread_all(int fd, void *buf, size_t count); |
445 | extern unsigned char bb_xread_char(int fd); | 446 | extern unsigned char bb_xread_char(int fd); |