source: rtems/doc/posix1003.1/ch03.t @ 7331714

4.104.114.84.95
Last change on this file since 7331714 was 7331714, checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/98 at 18:15:01

Added Constants, Feature Flags, and Macros (included in Functions).
No status information was included.

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[2d19ed6c]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 Primitives
[0874502]10
[2d19ed6c]11@section Process Creation and Execution
[0874502]12
[2d19ed6c]13@subsection Process Creation
[0874502]14
15@example
[34683fee]16fork(), Function, Unimplementable
[0874502]17@end example
18
19
[2d19ed6c]20@subsection Execute a File
[0874502]21
22@example
[34683fee]23execl(), Function, Unimplementable, Requires Processes
24execv(), Function, Unimplementable, Requires Processes
25execle(), Function, Unimplementable, Requires Processes
26execve(), Function, Unimplementable, Requires Processes
27execlp(), Function, Unimplementable, Requires Processes
28execvp(), Function, Unimplementable, Requires Processes
[0874502]29@end example
30
[2d19ed6c]31@subsection Register Fork Handlers
[0874502]32
33@example
[34683fee]34pthread_atfork(), Function, Unimplementable, Requires Processes
[0874502]35@end example
36
[2d19ed6c]37@section Process Termination
[0874502]38
[2d19ed6c]39@subsection Wait for Process Termination
[0874502]40
41@example
[34683fee]42wait(), Function, Unimplementable, Requires Processes
43waitpid(), Function, Unimplementable, Requires Processes
[7331714]44WNOHANG, Constant, Unimplementable, Requires Processes
45WUNTRACED, Constant, Unimplementable, Requires Processes
46WIFEXITED(), Function, Unimplementable, Requires Processes
47WEXITSTATUS(), Function, Unimplementable, Requires Processes
48WIFSIGNALED(), Function, Unimplementable, Requires Processes
49WTERMSIG(), Function, Unimplementable, Requires Processes
50WIFSTOPPED(), Function, Unimplementable, Requires Processes
51WSTOPSIG(), Function, Unimplementable, Requires Processes
[0874502]52@end example
53
[2d19ed6c]54@subsection Terminate a Process
[0874502]55
56@example
[34683fee]57_exit(), Function, Unimplemented
[0874502]58@end example
59
[2d19ed6c]60@section Signals
[0874502]61
[2d19ed6c]62@subsection Signal Concepts
[0874502]63
[7331714]64@subsubsection Signal Names
65
[3349409]66@example
[6984a19]67sigset_t, Type, Implemented
[7331714]68SIG_DFL, Constant,
69SIG_IGN, Constant,
70SIGABRT, Constant,
71SIGALRM, Constant,
72SIGFPE, Constant,
73SIGHUP, Constant,
74SIGILL, Constant,
75SIGINT, Constant,
76SIGKILL, Constant,
77SIGPIPE, Constant,
78SIGQUIT, Constant,
79SIGSEGV, Constant,
80SIGTERM, Constant,
81SIGUSR1, Constant,
82SIGUSR2, Constant,
83SIGCHLD, Constant,
84SIGCONT, Constant,
85SIGSTOP, Constant,
86SIGTSTP, Constant,
87SIGTTIN, Constant,
88SIGTTOU, Constant,
89SIGBUS, Constant,
90SIGRTMIN, Constant,
91SIGRTMAX, Constant,
92@end example
93
94@subsubsection Signal Generation and Delivery
95
96@example
[6984a19]97struct sigevent, Type, Implemented
98union sigval, Type, Implemented
[7331714]99SIGEV_NONE, Constant,
100SIGEV_SIGNAL, Constant,
101SIGEV_THREAD, Constant,
102@end example
103
104@subsubsection Signal Actions
105
106@example
[6984a19]107siginfo_t, Type, Implemented
[7331714]108SI_USER, Constant,
109SI_QUEUE, Constant,
110SI_TIMER, Constant,
111SI_ASYNCIO, Constant,
112SI_MESGQ, Constant,
[3349409]113@end example
114
[2d19ed6c]115@subsection Send a Signal to a Process
[0874502]116
117@example
[34683fee]118kill(), Function, Implemented
[0874502]119@end example
120
[2d19ed6c]121@subsection Manipulate Signal Sets
[0874502]122
123@example
[34683fee]124sigemptyset(), Function, Implemented
125sigfillset(), Function, Implemented
126sigaddset(), Function, Implemented
127sigdelset(), Function, Implemented
128sigismember(), Function, Implemented
[0874502]129@end example
130
[2d19ed6c]131@subsection Examine and Change Signal Action
[0874502]132
133@example
[34683fee]134sigaction(), Function, Implemented
[6984a19]135sigaction, Type, Implemented
[7331714]136SA_NOCLDSTOP, Constant,
137SA_SIGINFO, Constant,
[0874502]138@end example
139
[2d19ed6c]140@subsection Examine and Change Blocked Signals
[0874502]141
142@example
[34683fee]143pthread_sigmask(), Function, Implemented
144sigprocmask(), Function, Implemented
[7331714]145SIG_BLOCK, Constant,
146SIG_UNBLOCK, Constant,
147SIG_SETMASK, Constant,
[0874502]148@end example
149
[2d19ed6c]150@subsection Examine Pending Signals
[0874502]151
152@example
[34683fee]153sigpending(), Function, Implemented
[0874502]154@end example
155
[2d19ed6c]156@subsection Wait for a Signal
[0874502]157
158@example
[34683fee]159sigsuspend(), Function, Implemented
[0874502]160@end example
161
[2d19ed6c]162@subsection Synchronously Accept a Signal
[0874502]163
164@example
[34683fee]165sigwait(), Function, Implemented
166sigwaitinfo(), Function, Implemented
167sigtimedwait(), Function, Implemented
[0874502]168@end example
169
[2d19ed6c]170@subsection Queue a Signal to a Process
[0874502]171
172@example
[34683fee]173sigqueue(), Function, Implemented
[0874502]174@end example
175
[2d19ed6c]176@subsection Send a Signal to a Thread
[0874502]177
178@example
[34683fee]179pthread_kill(), Function, Implemented
[0874502]180@end example
181
[2d19ed6c]182@section Timer Operations
[0874502]183
[2d19ed6c]184@subsection Schedule Alarm
[0874502]185
186@example
[34683fee]187alarm(), Function, Implemented
[0874502]188@end example
189
[2d19ed6c]190@subsection Suspend Process Execution
[0874502]191
192@example
[34683fee]193pause(), Function, Implemented
[0874502]194@end example
195
[2d19ed6c]196@subsection Delay Process Execution
197
[0874502]198@example
[34683fee]199sleep(), Function, Implemented
[0874502]200@end example
Note: See TracBrowser for help on using the repository browser.