Pgrab_core
extern struct ps_prochandle *Pgrab_core(const char *, const char *, int, int *);
Pr = Pgrab_core(argv[1], NULL, PGRAB_RDONLY, &perr);