summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib9p/srv_include/lib9p/srv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib9p/srv_include/lib9p/srv.h b/lib9p/srv_include/lib9p/srv.h
index 026075e..82d4502 100644
--- a/lib9p/srv_include/lib9p/srv.h
+++ b/lib9p/srv_include/lib9p/srv.h
@@ -75,7 +75,10 @@ lo_interface lib9p_srv_dio;
/* FIXME: I don't like that the pointers returned by stat() and
* pread() have to remain live after they return. Perhaps a
- * `respond()`-callback? But that just reads as gross in C.
+ * `respond()`-callback? But that just reads as gross in C. Also,
+ * because stat is used by srv.c internally for things other than
+ * Tstat, a `respond()`-callback makes less sense for stat() than it
+ * does for read().
*
* FIXME: It would be nice if pread() could return more than 1 iovec.
*/