summaryrefslogtreecommitdiff
path: root/lib9p/srv_include
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-18 10:53:12 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-07 22:45:26 -0600
commit85a4545c213f1643d3b7a6dd83235b5559733023 (patch)
treec379bb04d1636ab2c802c464fb800785ceac211c /lib9p/srv_include
parent53d0b11262177cd212803fc9330e055871c348b3 (diff)
wip: lib9p: Multi-iovec replieslukeshu/9p-read-multi-iovec
Diffstat (limited to 'lib9p/srv_include')
-rw-r--r--lib9p/srv_include/lib9p/srv.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib9p/srv_include/lib9p/srv.h b/lib9p/srv_include/lib9p/srv.h
index ce82e59..0f1c88b 100644
--- a/lib9p/srv_include/lib9p/srv.h
+++ b/lib9p/srv_include/lib9p/srv.h
@@ -112,14 +112,12 @@ DECLARE_ERROR_OR(lib9p_srv_dirent);
/* FIXME: I don't like that the pointer returned by pread() has to
* remain live after it returns. Perhaps a `respond()`-callback? But
* that just reads as gross in C.
- *
- * FIXME: It would be nice if pread() could return more than 1 iovec.
*/
#define lib9p_srv_fio_LO_IFACE /*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/ \
LO_FUNC(struct lib9p_qid , qid ) \
LO_FUNC(void , iofree ) \
LO_FUNC(uint32_t , iounit ) \
- LO_FUNC(iovec_or_error , pread , struct lib9p_srv_ctx *, \
+ LO_FUNC(iovec_list__or_error , pread , struct lib9p_srv_ctx *, \
uint32_t byte_count, \
uint64_t byte_offset) \
/** \