pidentry
static struct pidentry *pidtable = NULL;
if ((pidtable = malloc(Max_fds * sizeof (struct pidentry))) == NULL)
move_amt * sizeof (struct pidentry));
move_amt * sizeof (struct pidentry));
struct pidentry pe;
struct pidentry *p;
p = bsearch(&pe, pidtable, pidcnt, sizeof (struct pidentry), pidcmp);
*i = p - (struct pidentry *)pidtable;
pidcmp(struct pidentry *a, struct pidentry *b)