]> git.ozlabs.org Git - ccan/blobdiff - ccan/failtest/failtest.h
failtest: capture pread/pwrite
[ccan] / ccan / failtest / failtest.h
index 5c57efcfe71284eaaa24e93ad74c54e0eae6316b..e8bf10ab5f6c46e056833610fd8c57b54bb1e3d5 100644 (file)
@@ -76,6 +76,7 @@ struct read_call {
        int fd;
        void *buf;
        size_t count;
+       off_t off;
 };
 
 struct write_call {
@@ -83,6 +84,7 @@ struct write_call {
        int fd;
        const void *buf;
        size_t count;
+       off_t off;
 };
 
 struct fcntl_call {