2 #include "../port/lib.h"
6 #include "../port/error.h"
9 * the zeroth element of the table MUST be the directory itself for ..
12 devgen(Chan *c, char *name, Dirtab *tab, int ntab, int i, Dir *dp)
20 if(strcmp(tab[i].name, name) == 0)
26 /* skip over the first element, that for . itself */
32 devdir(c, tab->qid, tab->name, tab->length, eve, tab->perm, dp);