ct_pr_event_get_sender
extern int ct_pr_event_get_sender(ct_evthdl_t, pid_t *);
if (ct_pr_event_get_sender(ev, &pid) == 0)