Lines Matching defs:ctlfd
71 int ctlfd; /* /proc/<pid>/ctl */
325 if (writev(cp->ctlfd, iov, 2) < 0)
332 if (write(cp->ctlfd, (char *)runctl, 2*sizeof (long))
342 if (write(cp->ctlfd, (char *)&ctl,
353 if (write(cp->ctlfd, (char *)runctl, 3*sizeof (long))
374 (void) write(cp->ctlfd, (char *)&ctl,
498 (cp->ctlfd = Dupfd(fd, cp->ctlfd)) < 0)
521 if (cp->ctlfd > 0)
522 (void) close(cp->ctlfd);
526 cp->ctlfd = 0;
564 write(cp->ctlfd, (char *)ctl, 2*sizeof (long))
642 (void) writev(cp->ctlfd, iov, 2);