01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GETPID ( 2} GETPID (2)<br />

NAME<br />

getpid, getpgrp, getppid - get process, process group, and parent<br />

process IDs<br />

SYNOPSIS<br />

int getpid ( )<br />

int getpgrp ( )<br />

int getppid ( )<br />

DESCRIPTION<br />

Getpid returns the process ID of the calling process.<br />

Getpgrp returns the process group ID of the calling process.<br />

Getppid returns the parent process ID of the calling process.<br />

SEE ALSO<br />

exec(2), fork(2), intro(2), setpgrp(2), signal(2).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!