|TFIND(9)||Kernel Developer's Manual||TFIND(9)|
pgfind — find thread,
process and process group by number
struct proc *
struct process *
struct pgrp *
functions retrieve thread, process and progress group structures from
thread, process and process group IDs, respectively.
These functions return
NULL if the
requested ID can't be found.
Those functions are implemented in the file sys/kern/kern_proc.c.
|January 24, 2017||OpenBSD-current|