return (res == -1) ? res : (res + prev_res);
}
-static ssize_t stream_splice_send(int fdin, __off64_t *offin, int fdout,
- __off64_t *offout, size_t len,
+static ssize_t stream_splice_send(int fdin, off_t *offin, int fdout,
+ off_t *offout, size_t len,
unsigned int flags, void *userdata) {
(void)userdata;
struct fuse_custom_io {
ssize_t (*writev)(int fd, struct iovec *iov, int count, void *userdata);
ssize_t (*read)(int fd, void *buf, size_t buf_len, void *userdata);
- ssize_t (*splice_receive)(int fdin, __off64_t *offin, int fdout,
- __off64_t *offout, size_t len,
+ ssize_t (*splice_receive)(int fdin, off_t *offin, int fdout,
+ off_t *offout, size_t len,
unsigned int flags, void *userdata);
- ssize_t (*splice_send)(int fdin, __off64_t *offin, int fdout,
- __off64_t *offout, size_t len,
+ ssize_t (*splice_send)(int fdin, off_t *offin, int fdout,
+ off_t *offout, size_t len,
unsigned int flags, void *userdata);
};