Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec(2)

fork(2)

intro(2)

getpgrp(2)

signal(2)

getpid(2)

NAME

getpid, getppid − get process and parent process IDs

SYNOPSIS

#include <sys/types.h>
 
pid_t getpid ()

pid_t getppid ()

DESCRIPTION

getpid returns the process ID of the calling process. 

Getppid returns the parent process ID of the calling process. 

SEE ALSO

exec(2), fork(2), intro(2), getpgrp(2), signal(2). 

CX/UX Programmer’s Reference Manual

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