procfs_dotype
int procfs_dotype (struct proc *, struct lwp *, struct pfsnode *pfsp, struct uio *uio);
rtval = procfs_dotype(curp, lp, pfs, uio);