From dda99bbfe55bcf25ec33934c40efc4f9fdca685a Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Wed, 6 Jan 2021 10:07:10 -0800 Subject: [PATCH] 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. --- sys/man/2/9pfid | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 {