diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-25 23:50:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-25 23:50:28 +0000 |
commit | 2d27e4ccbbc29d6ec1b907849984cec30f24e734 (patch) | |
tree | 9e5d35d70aa35b0a06248c5d1189e8eb274083b0 /include | |
parent | 87cd4a87e3f98dd5a1b982cfdfc4dad6800ca010 (diff) | |
download | busybox-w32-2d27e4ccbbc29d6ec1b907849984cec30f24e734.tar.gz busybox-w32-2d27e4ccbbc29d6ec1b907849984cec30f24e734.tar.bz2 busybox-w32-2d27e4ccbbc29d6ec1b907849984cec30f24e734.zip |
tee: fix bug: argv[-1] is a no-no!
bb_full_fd_action: optimize
die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error"
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 5cba27932..61e379423 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -271,7 +271,7 @@ extern void *xmalloc_open_read_close(const char *filename, size_t *sizep); | |||
271 | 271 | ||
272 | extern ssize_t safe_write(int fd, const void *buf, size_t count); | 272 | extern ssize_t safe_write(int fd, const void *buf, size_t count); |
273 | extern ssize_t full_write(int fd, const void *buf, size_t count); | 273 | extern ssize_t full_write(int fd, const void *buf, size_t count); |
274 | extern void xwrite(int fd, void *buf, size_t count); | 274 | extern void xwrite(int fd, const void *buf, size_t count); |
275 | 275 | ||
276 | /* Reads and prints to stdout till eof, then closes FILE. Exits on error: */ | 276 | /* Reads and prints to stdout till eof, then closes FILE. Exits on error: */ |
277 | extern void xprint_and_close_file(FILE *file); | 277 | extern void xprint_and_close_file(FILE *file); |