summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1/ch03.t
blob: b48f5818b32a5faa9ebadd94fdc41ac77c92a78e (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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
@c
@c  COPYRIGHT (c) 1988-1998.
@c  On-Line Applications Research Corporation (OAR).
@c  All rights reserved.
@c
@c  $Id$
@c

@chapter Process Primitives

@section Process Creation and Execution

@subsection Process Creation

@example
fork(), Function, Unimplementable
@end example


@subsection Execute a File

@example
execl(), Function, Unimplementable, Requires Processes
execv(), Function, Unimplementable, Requires Processes
execle(), Function, Unimplementable, Requires Processes
execve(), Function, Unimplementable, Requires Processes
execlp(), Function, Unimplementable, Requires Processes
execvp(), Function, Unimplementable, Requires Processes
@end example

@subsection Register Fork Handlers

@example
pthread_atfork(), Function, Unimplementable, Requires Processes
@end example

@section Process Termination

@subsection Wait for Process Termination

@example
wait(), Function, Unimplementable, Requires Processes
waitpid(), Function, Unimplementable, Requires Processes
WNOHANG, Constant, Unimplementable, Requires Processes
WUNTRACED, Constant, Unimplementable, Requires Processes
WIFEXITED(), Function, Unimplementable, Requires Processes
WEXITSTATUS(), Function, Unimplementable, Requires Processes
WIFSIGNALED(), Function, Unimplementable, Requires Processes
WTERMSIG(), Function, Unimplementable, Requires Processes
WIFSTOPPED(), Function, Unimplementable, Requires Processes
WSTOPSIG(), Function, Unimplementable, Requires Processes
@end example

@subsection Terminate a Process

@example
_exit(), Function, Unimplemented
@end example

@section Signals

@subsection Signal Concepts

@subsubsection Signal Names

@example
sigset_t, Type, Implemented
SIG_DFL, Constant, 
SIG_IGN, Constant, 
SIGABRT, Constant, 
SIGALRM, Constant, 
SIGFPE, Constant, 
SIGHUP, Constant, 
SIGILL, Constant, 
SIGINT, Constant, 
SIGKILL, Constant, 
SIGPIPE, Constant, 
SIGQUIT, Constant, 
SIGSEGV, Constant, 
SIGTERM, Constant, 
SIGUSR1, Constant, 
SIGUSR2, Constant, 
SIGCHLD, Constant, 
SIGCONT, Constant, 
SIGSTOP, Constant, 
SIGTSTP, Constant, 
SIGTTIN, Constant, 
SIGTTOU, Constant, 
SIGBUS, Constant, 
SIGRTMIN, Constant, 
SIGRTMAX, Constant, 
@end example

@subsubsection Signal Generation and Delivery

@example
struct sigevent, Type, Implemented
union sigval, Type, Implemented
SIGEV_NONE, Constant, 
SIGEV_SIGNAL, Constant, 
SIGEV_THREAD, Constant, 
@end example

@subsubsection Signal Actions

@example
siginfo_t, Type, Implemented
SI_USER, Constant, 
SI_QUEUE, Constant, 
SI_TIMER, Constant, 
SI_ASYNCIO, Constant, 
SI_MESGQ, Constant, 
@end example

@subsection Send a Signal to a Process

@example
kill(), Function, Implemented
@end example

@subsection Manipulate Signal Sets

@example
sigemptyset(), Function, Implemented
sigfillset(), Function, Implemented
sigaddset(), Function, Implemented
sigdelset(), Function, Implemented
sigismember(), Function, Implemented
@end example

@subsection Examine and Change Signal Action

@example
sigaction(), Function, Implemented
sigaction, Type, Implemented
SA_NOCLDSTOP, Constant, 
SA_SIGINFO, Constant, 
@end example

@subsection Examine and Change Blocked Signals

@example
pthread_sigmask(), Function, Implemented
sigprocmask(), Function, Implemented
SIG_BLOCK, Constant, 
SIG_UNBLOCK, Constant, 
SIG_SETMASK, Constant, 
@end example

@subsection Examine Pending Signals

@example
sigpending(), Function, Implemented
@end example

@subsection Wait for a Signal

@example
sigsuspend(), Function, Implemented
@end example

@subsection Synchronously Accept a Signal

@example
sigwait(), Function, Implemented
sigwaitinfo(), Function, Implemented
sigtimedwait(), Function, Implemented
@end example

@subsection Queue a Signal to a Process

@example
sigqueue(), Function, Implemented
@end example

@subsection Send a Signal to a Thread

@example
pthread_kill(), Function, Implemented
@end example

@section Timer Operations

@subsection Schedule Alarm

@example
alarm(), Function, Implemented
@end example

@subsection Suspend Process Execution

@example
pause(), Function, Implemented
@end example

@subsection Delay Process Execution

@example
sleep(), Function, Implemented
@end example