diff options
| author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-13 12:45:04 +0000 |
|---|---|---|
| committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-13 12:45:04 +0000 |
| commit | f0bf1ade78b709229cab0801347032478b02ef96 (patch) | |
| tree | 378b5a002da81f8622913cc6a9aeac873e307ec9 /include | |
| parent | a39965951155a179f9e8afed70dd5f45ea70f280 (diff) | |
| download | busybox-w32-f0bf1ade78b709229cab0801347032478b02ef96.tar.gz busybox-w32-f0bf1ade78b709229cab0801347032478b02ef96.tar.bz2 busybox-w32-f0bf1ade78b709229cab0801347032478b02ef96.zip | |
- patch from Denis Vlasenko to add and use bb_xopen3()
git-svn-id: svn://busybox.net/trunk/busybox@14847 69ca8d6d-28ef-0310-b511-8ec308f3f277
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); |
