Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpid(2) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec: execl, execv, execle, execve, execlp, execvp

fork

setpgrp

signal

getpid, getpgrp, getppid

Purpose

     Gets the process, process group, and parent process IDs.

Syntax

     int getpid ( )

     int getpgrp ( )

     int getppid ( )

Description

     The  getpid system  call returns  the process  ID of  the
     calling process.

     The getpgrp system  call returns the process  group ID of
     the calling process.

     The getppid  system call  returns the  process ID  of the
     calling process's parent process.

Related Information

     In  this book:   "exec:   execl,  execv, execle,  execve,
     execlp, execvp,"  "fork,"  "setpgrp," and "signal."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026