|
|
1.1 root 1:
2:
3: getpid() COHERENT System Call getpid()
4:
5:
6:
7:
8: Get process identifier
9:
10: getpid()
11:
12: Every process has a unique number, called its process id. fork
13: returns the process id of a created child process to the parent
14: process.
15:
16: getpid returns the process id of the requesting process. Typi-
17: cally a process uses getpid to pass its process id to another
18: process which wants to send it a signal, or to generate a unique
19: temporary file name.
20:
21: ***** See Also *****
22:
23: COHERENT system calls, fork(), kill, mktemp
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.