Query: pgrp_find
OS: netbsd
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PROC_FIND(9) BSD Kernel Developer's Manual PROC_FIND(9)NAMEproc_find, pgrp_find -- find process or process groupSYNOPSIS#include <sys/proc.h> struct proc * proc_find(pid_t pid); struct pgrp * pgrp_find(pid_t pgid); extern kmutex_t *proc_lock;DESCRIPTIONThe proc_find() and pgrp_find() functions retrieve process and process group structures from process ID pid and process group ID pgid. Both functions must be called by holding a mutex(9) on proc_lock.RETURN VALUESUpon successful completion, the described functions return a pointer to either struct proc or struct pgrp. Otherwise, if the requested ID was not found, NULL is returned.SEE ALSOcurproc(9)BSDJuly 1, 2010 BSD
Related Man Pages |
---|
setpgid(2) - opensolaris |
setpgid(2) - netbsd |
setpgrp(2) - netbsd |
pgsignal(9) - linux |
pgsignal(9) - osx |
Similar Topics in the Unix Linux Community |
---|
How to install PGX32 on Sparc 10 Ultra? |
NetBSD 6.1.2: apm and admd not found |
Adding a List of Times |
Grandpa returning to UNIX |
Grep command to show the number of results |