summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1/ch04.t
blob: 536f1e6d5d8921cd2c5d7ce76f1f4a0c737a4c0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
@c
@c  COPYRIGHT (c) 1988-1998.
@c  On-Line Applications Research Corporation (OAR).
@c  All rights reserved.
@c
@c  $Id$
@c

@chapter Process Environment

@section Process Identification

@subsection Get Process and Parent Process IDs

@example
getpid(), Function
getppid(), Function
@end example

@section User Identification

@subsection Get Real User Effective User Real Group and Effective Group IDs

@example
getuid(), Function
geteuid(), Function
getgid(), Function
getegid(), Function
@end example

@subsection Set User and Group IDs

@example
setuid(), Function
setgid(), Function
@end example

@subsection Get Supplementary Group IDs

@example
getgroups(), Function
@end example

@subsection Get User Name

@example
getlogin(), Function
getlogin_r(), Function
@end example

@section Process Groups

@subsection Get Process Group ID

@example
getpgrp(), Function
@end example

@subsection Create Session and Set Process Group ID

@example
setsid(), Function
@end example

@subsection Set Process Group ID for Job Control

@example
setpgid(), Function
@end example

@section System Identification

@subsection Get System Name

@example
uname(), Function
@end example

@section Time

@subsection Get System Time

@example
time(), Function
@end example

@subsection Get Process Times

@example
times(), Function
@end example

@section Environment Variables

@subsection Environment Access

@example
getenv(), Function
@end example

@section Terminal Identification

@subsection Generate Terminal Pathname

@example
ctermid(), Function
@end example

@subsection Determine Terminal Device Name

@example
ttyname(), Function
ttyname_r(), Function
isatty(), Function
@end example

@section Configurable System Variables

@subsection Get Configurable System Variables

@example
sysconf(), Function
@end example