Lines Matching refs:ctfd
240 get_event(int fd, int ctfd, ctid_t ctid) in get_event() argument
301 (void) ct_ctl_ack(ctfd, evid); in get_event()
316 abandon(int ctfd) in abandon() argument
318 if (ct_ctl_abandon(ctfd) == -1) in abandon()
319 uu_die(gettext("failed to abandon contract %d"), ctfd); in abandon()
321 (void) close(ctfd); in abandon()
380 int ctfd; in main() local
557 if ((ctfd = contract_open(opt_adopt, "process", "ctl", in main()
576 if (errno = ct_ctl_adopt(ctfd)) in main()
641 if ((ctfd = contract_open(ctid, "process", "ctl", in main()
666 event = get_event(efd, ctfd, ctid); in main()
696 (void) close(ctfd); in main()
698 abandon(ctfd); in main()
707 abandon(ctfd); in main()