Annotation of cci/usr/src/man/man2/getpid.2, revision 1.1.1.1

1.1       root        1: .TH GETPID 2 "12 February 1983"
                      2: .UC 4
                      3: .SH NAME
                      4: getpid, getppid \- get process identification
                      5: .SH SYNOPSIS
                      6: .ft B
                      7: .nf
                      8: pid = getpid()
                      9: long pid;
                     10: .sp
                     11: ppid = getppid()
                     12: long ppid;
                     13: .fi
                     14: .ft R
                     15: .SH DESCRIPTION
                     16: .I Getpid
                     17: returns
                     18: the process ID of
                     19: the current process.
                     20: Most often it is used with the host identifier
                     21: .IR gethostid (2)
                     22: to generate uniquely-named temporary files.
                     23: .PP
                     24: .I Getppid
                     25: returns the process ID of the parent
                     26: of the current process. 
                     27: .SH "SEE ALSO
                     28: gethostid(2)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.