Mac OS X Reference Library Apple Developer
Search

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>

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

proc_pgrpid

Get the process group id for the passed-in process.

proc_selfpgrpid

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);  
Parameters
p

Process whose pgrpid to grab.

Return Value

pgrpid for "p".


proc_selfpgrpid


Get the process group id for the current process, as with proc_pgrpid().


pid_t proc_selfpgrpid(
    void);  
Return Value

pgrpid of current process.

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-07-29