3 ms·
This line is comparing integers, not strings. Qid is a structure containing path and vers fields: path is guaranteed to be unique among all
by jedbrown 13y ago
This line is comparing integers, not strings.
Qid is a structure containing path and vers fields:
path is guaranteed to be unique among all path names cur-
rently on the file server, and vers changes each time the
file is modified. The path is a long long (64 bits, vlong)
and the vers is an unsigned long (32 bits, ulong). Thus, if
two files have the same type, dev, and qid they are the same
file.
http://man.cat-v.org/plan_9/2/stat http://man.cat-v.org/plan_9/2/stat