summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-29 08:46:27 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:29 -0500
commitbcefbaab8aed569808f88ee1df03ec960c7cd286 (patch)
treeb853a960ee8d1d91936ed87a94ab75d7f4d5590a
parent4e7a71da4b55950d2e267118681ca7e04f019573 (diff)
downloadperk-bcefbaab8aed569808f88ee1df03ec960c7cd286.tar.bz2
perk-bcefbaab8aed569808f88ee1df03ec960c7cd286.tar.xz
struct pe_common_ctx: add members for last io operation return value.
-rw-r--r--include/perk/perk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 3f9f890..187392e 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -117,6 +117,8 @@ struct pe_common_ctx {
int prot;
int mode;
int status;
+ ssize_t ioread;
+ ssize_t iowrite;
uint64_t drvflags;
uint64_t actflags;
uint64_t fmtflags;