Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fork(2)

kill(2)

setpgid(2)

setsid(2)

signal(2)

setpgrp(2)

exec(2)

wait(2)

GETPID(2)                            SysV                            GETPID(2)



NAME
     getpid, getpgrp, getppid - get the process ID, process group ID, parent
     process ID

SYNOPSIS
     #include <sys/types.h>

     pid_t getpid(void);

     pid_t getpgrp(void);

     pid_t getppid(void);

DESCRIPTION
     The getpid function returns the process ID of the calling process.

     The getpgrp function returns the process group ID of the calling process.

     The getppid function returns the parent process ID of the calling
     process.  When a process is created, its parent process ID is the process
     ID of its parent process.

SEE ALSO
     System calls: fork(2), kill(2), setpgid(2), setsid(2), signal(2),
     setpgrp(2), exec(2), wait(2)

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