From b44e1813b9a39827ebe5b8ade6dd68713925c58b Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Thu, 17 Apr 2025 12:42:05 -0600 Subject: lib9p_srv: Document more thoughts about improving stat() --- lib9p/srv_include/lib9p/srv.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. */ -- cgit v1.2.3-2-g168b