aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index a02355cc5..dca14b40d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -631,6 +631,9 @@ extern void xwrite(int fd, const void *buf, size_t count) FAST_FUNC;
631extern void xwrite_str(int fd, const char *str) FAST_FUNC; 631extern void xwrite_str(int fd, const char *str) FAST_FUNC;
632extern void xopen_xwrite_close(const char* file, const char *str) FAST_FUNC; 632extern void xopen_xwrite_close(const char* file, const char *str) FAST_FUNC;
633 633
634/* Close fd, but check for failures (some types of write errors) */
635extern void xclose(int fd) FAST_FUNC;
636
634/* Reads and prints to stdout till eof, then closes FILE. Exits on error: */ 637/* Reads and prints to stdout till eof, then closes FILE. Exits on error: */
635extern void xprint_and_close_file(FILE *file) FAST_FUNC; 638extern void xprint_and_close_file(FILE *file) FAST_FUNC;
636 639