Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getppid(2) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gethostid(2)



GETPID(2)               COMMAND REFERENCE               GETPID(2)



NAME
     getpid, getppid - get process identification

SYNOPSIS
     pid = getpid()
     long pid;

     ppid = getppid()
     long ppid;

DESCRIPTION
     Getpid returns the process ID of the current process in pid.
     Most often it is used with the host identifier gethostid(2)
     to generate uniquely-named temporary files.

     Getppid returns the process ID of the parent of the current
     process in ppid.

RETURN VALUE
     Getpid returns the current process ID; getppid returns the
     current process' parent's process ID.

SEE ALSO
     gethostid(2).































Printed 10/17/86                                                1





































































%%index%%
na:72,80;
sy:152,390;
de:542,499;
rv:1041,265;
se:1306,118;
%%index%%000000000093

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