summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2021-01-06 10:07:10 -0800
committerOri Bernstein <ori@eigenstate.org>2021-01-06 10:07:10 -0800
commitdda99bbfe55bcf25ec33934c40efc4f9fdca685a (patch)
tree00b7dae67a99b6a4c241d17fb6b6c3db373f01c7
parent888c59c07e1f38659ca9aae9583b1ad84553fe06 (diff)
downloadplan9front-dda99bbfe55bcf25ec33934c40efc4f9fdca685a.tar.xz
9pfid(2): document struct Qid (thanks sirjofri)
The Qid struct is pervasive when writing 9p servers, but is not described in the manpages. This adds a definition to the 9pfid manpage.
-rw-r--r--sys/man/2/9pfid11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/man/2/9pfid b/sys/man/2/9pfid
index 6ad79aa85..13930a4d1 100644
--- a/sys/man/2/9pfid
+++ b/sys/man/2/9pfid
@@ -14,6 +14,17 @@ Req, Reqpool, allocreqpool, freereqpool, allocreq, closereq, lookupreq, removere
.PP
.ft L
.nf
+.ta \w'\fL 'u +\w'\fLuvlong 'u
+typedef struct Qid
+{
+ uvlong path;
+ ulong vers;
+ uchar type;
+} Qid;
+.fi
+.PP
+.ft L
+.nf
.ta \w'\fL 'u +\w'\fLulong 'u
typedef struct Fid
{