Searched refs:pctlfd (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
H A D | main.c | 130 int pctlfd; in main() local 205 if ((pctlfd = open(procname, O_WRONLY)) < 0) { in main() 218 if (writev(pctlfd, piov, 1) == -1) in main() 245 if (writev(pctlfd, piov, 2) == -1) in main() 249 if (writev(pctlfd, piov, 1) == -1) in main() 260 if (writev(pctlfd, piov, 2) == -1) in main() 277 if (writev(pctlfd, piov, 2) == -1) in main() 282 (void) ps_init(pctlfd, pstatusfd, cpid, &proch); in main() 301 pctlfd = proch.pp_ctlfd; in main() 307 if (writev(pctlfd, piov, 2) == -1) in main() [all …]
|
H A D | ps.c | 127 ps_init(int pctlfd, int pstatusfd, pid_t pid, struct ps_prochandle *procp) in ps_init() argument 135 procp->pp_ctlfd = pctlfd; in ps_init()
|