code: plan9front

Download patch

ref: dda99bbfe55bcf25ec33934c40efc4f9fdca685a
parent: 888c59c07e1f38659ca9aae9583b1ad84553fe06
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Jan 6 05:07:10 EST 2021

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.

--- a/sys/man/2/9pfid
+++ b/sys/man/2/9pfid
@@ -14,6 +14,17 @@
 .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
 {