dochain
dochain(KSort, &nentries, pid);
static void dochain (KINFO **ksort, int *nentriesp, pid_t pid);