pr_settaskid
extern taskid_t pr_settaskid(struct ps_prochandle *Pr, projid_t project,
if (pr_settaskid(Pr, projid, flags & TASK_MASK) == -1) {