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.
This commit is contained in:
Ori Bernstein 2021-01-06 10:07:10 -08:00
parent 888c59c07e
commit dda99bbfe5

View file

@ -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
{