proc.h |
Includes: |
<sys/appleapiopts.h> <sys/cdefs.h> <sys/select.h> <sys/queue.h> <sys/lock.h> <sys/param.h> <sys/event.h> <sys/kernel_types.h> <mach/boolean.h> |
Use the links in the table of contents to the left to access the documentation.
Get the process group id for the passed-in process.
Get the process group id for the current process, as with proc_pgrpid().
proc_pgrpid |
Get the process group id for the passed-in process.
pid_t proc_pgrpid( proc_t);
p
Process whose pgrpid to grab.
pgrpid for "p".
proc_selfpgrpid |
Get the process group id for the current process, as with proc_pgrpid().
pid_t proc_selfpgrpid( void);
pgrpid of current process.
Last Updated: 2010-07-29