Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpid(2) — Ultrix-11 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setpgrp(2j)

setpgrp(2v)

mktemp(3)

getpid(2)

NAME

getpid, getppid  − get process identification

SYNTAX

int getpid()

int getppid()

DESCRIPTION

The getpid system call returns the process ID of the current process.  It is useful for generating uniquely-named temporary files. 

The getppid system call returns the process ID of the parent of the current process. 

SEE ALSO

setpgrp(2j), setpgrp(2v), mktemp(3)

ASSEMBLER

(getpid = 20.) 
sys getpid
(pid in r0)
(ppid in r1)

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