4.104.114.84.95
Last change
on this file since 0874502 was
0874502,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/14/98 at 16:31:11
|
Added functions from POSIX standard.
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | @c |
---|
2 | @c COPYRIGHT (c) 1988-1998. |
---|
3 | @c On-Line Applications Research Corporation (OAR). |
---|
4 | @c All rights reserved. |
---|
5 | @c |
---|
6 | @c $Id$ |
---|
7 | @c |
---|
8 | |
---|
9 | @chapter Process Environment |
---|
10 | |
---|
11 | @section Process Identification |
---|
12 | |
---|
13 | @subsection Get Process and Parent Process IDs |
---|
14 | |
---|
15 | @example |
---|
16 | getpid() |
---|
17 | getppid() |
---|
18 | @end example |
---|
19 | |
---|
20 | @section User Identification |
---|
21 | |
---|
22 | @subsection Get Real User Effective User Real Group and Effective Group IDs |
---|
23 | |
---|
24 | @example |
---|
25 | getuid() |
---|
26 | geteuid() |
---|
27 | getgid() |
---|
28 | getegid() |
---|
29 | @end example |
---|
30 | |
---|
31 | @subsection Set User and Group IDs |
---|
32 | |
---|
33 | @example |
---|
34 | setuid() |
---|
35 | setgid() |
---|
36 | @end example |
---|
37 | |
---|
38 | @subsection Get Supplementary Group IDs |
---|
39 | |
---|
40 | @example |
---|
41 | getgroups() |
---|
42 | @end example |
---|
43 | |
---|
44 | @subsection Get User Name |
---|
45 | |
---|
46 | @example |
---|
47 | getlogin() |
---|
48 | getlogin_r() |
---|
49 | @end example |
---|
50 | |
---|
51 | @section Process Groups |
---|
52 | |
---|
53 | @subsection Get Process Group ID |
---|
54 | |
---|
55 | @example |
---|
56 | getpgrp() |
---|
57 | @end example |
---|
58 | |
---|
59 | @subsection Create Session and Set Process Group ID |
---|
60 | |
---|
61 | @example |
---|
62 | setsid() |
---|
63 | @end example |
---|
64 | |
---|
65 | @subsection Set Process Group ID for Job Control |
---|
66 | |
---|
67 | @example |
---|
68 | setpgid() |
---|
69 | @end example |
---|
70 | |
---|
71 | @section System Identification |
---|
72 | |
---|
73 | @subsection Get System Name |
---|
74 | |
---|
75 | @example |
---|
76 | uname() |
---|
77 | @end example |
---|
78 | |
---|
79 | @section Time |
---|
80 | |
---|
81 | @subsection Get System Time |
---|
82 | |
---|
83 | @example |
---|
84 | time() |
---|
85 | @end example |
---|
86 | |
---|
87 | @subsection Get Process Times |
---|
88 | |
---|
89 | @example |
---|
90 | times() |
---|
91 | @end example |
---|
92 | |
---|
93 | @section Environment Variables |
---|
94 | |
---|
95 | @subsection Environment Access |
---|
96 | |
---|
97 | @example |
---|
98 | getenv() |
---|
99 | @end example |
---|
100 | |
---|
101 | @section Terminal Identification |
---|
102 | |
---|
103 | @subsection Generate Terminal Pathname |
---|
104 | |
---|
105 | @example |
---|
106 | ctermid() |
---|
107 | @end example |
---|
108 | |
---|
109 | @subsection Determine Terminal Device Name |
---|
110 | |
---|
111 | @example |
---|
112 | ttyname() |
---|
113 | ttyname_r() |
---|
114 | isatty() |
---|
115 | @end example |
---|
116 | |
---|
117 | @section Configurable System Variables |
---|
118 | |
---|
119 | @subsection Get Configurable System Variables |
---|
120 | |
---|
121 | @example |
---|
122 | sysconf() |
---|
123 | @end example |
---|
Note: See
TracBrowser
for help on using the repository browser.