summaryrefslogtreecommitdiff
path: root/src/apk_io.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-06-21 12:55:32 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-06-21 12:55:32 +0300
commit22281fb4b583a5969a9c902c008e336e7cc421ff (patch)
tree469b88a8e053c669934524caff018c4c8d86e09a /src/apk_io.h
parentca784ceab3f504b7cf9f481ccb76dee021abd76c (diff)
downloadapk-tools-22281fb4b583a5969a9c902c008e336e7cc421ff.tar.gz
apk-tools-22281fb4b583a5969a9c902c008e336e7cc421ff.tar.bz2
apk-tools-22281fb4b583a5969a9c902c008e336e7cc421ff.tar.xz
apk-tools-22281fb4b583a5969a9c902c008e336e7cc421ff.zip
print: handle write() errors in apk_print_progress()
Diffstat (limited to 'src/apk_io.h')
-rw-r--r--src/apk_io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk_io.h b/src/apk_io.h
index 64f1efe..40a0d8c 100644
--- a/src/apk_io.h
+++ b/src/apk_io.h
@@ -18,6 +18,8 @@
#include "apk_atom.h"
#include "apk_crypto.h"
+ssize_t apk_write_fully(int fd, const void *ptr, size_t size);
+
struct apk_id_hash {
int empty;
struct hlist_head by_id[16], by_name[16];