prgetmap32
extern int prgetmap32(proc_t *, int, list_t *);
error = prgetmap32(p, 1, &iolhead);
error = prgetmap32(p, 0, &iolhead);