openfiles
accessmode = openfiles(sys, kmemf, &kvmvars);
static int openfiles(char *, char *, struct kvmvars *);