Pstop
if (Pstop(Pr, 1000) != 0) {
(void) Pstop(Proc, 0);
(void) Pstop(Proc, 0);
(void) Pstop(Proc, MILLISEC);
if (Pstop(pctx->Pr, 5 * MILLISEC) == -1 ||
(void) Pstop(P, 1000);
(void) Pstop(P, 0); /* stop the controlled process */
(void) Pstop(P, 0);
(void) Pstop(P, 0);
extern int Pstop(struct ps_prochandle *, uint_t);