Changeset 1ee9a1a in rtems
- Timestamp:
- 09/25/98 13:24:00 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- b965227f
- Parents:
- 97149ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/new_chapters/process.t
r97149ba r1ee9a1a 17 17 18 18 @itemize @bullet 19 @item @code{fork} - 20 @item @code{execl} - 21 @item @code{execv} - 22 @item @code{execle} - 23 @item @code{execve} - 24 @item @code{execlp} - 25 @item @code{execvp} - 26 @item @code{pthread_atfork} - 27 @item @code{wait} - 28 @item @code{waitpid} - 29 @item @code{_exit} - 19 @item @code{fork} - Create a Process 20 @item @code{execl} - Execute a File 21 @item @code{execv} - Execute a File 22 @item @code{execle} - Execute a File 23 @item @code{execve} - Execute a File 24 @item @code{execlp} - Execute a File 25 @item @code{execvp} - Execute a File 26 @item @code{pthread_atfork} - Register Fork Handlers 27 @item @code{wait} - Wait for Process Termination 28 @item @code{waitpid} - Wait for Process Termination 29 @item @code{_exit} - Terminate a Process 30 30 @end itemize 31 31 … … 42 42 43 43 @page 44 @subsection fork - 45 46 @subheading CALLING SEQUENCE: 47 48 @ifset is-C 49 @example 50 int fork( 51 ); 52 @end example 53 @end ifset 54 55 @ifset is-Ada 56 @end ifset 57 58 @subheading STATUS CODES: 59 60 @table @b 61 @item E 62 The 63 64 @end table 65 66 @subheading DESCRIPTION: 67 68 @subheading NOTES: 69 70 @page 71 @subsection execl - 44 @subsection fork - Create a Process 45 46 @subheading CALLING SEQUENCE: 47 48 @ifset is-C 49 @example 50 #include <sys/types.h> 51 52 int fork( void ); 53 @end example 54 @end ifset 55 56 @ifset is-Ada 57 @end ifset 58 59 @subheading STATUS CODES: 60 61 @table @b 62 @item ENOSYS 63 This routine is not supported by RTEMS. 64 65 @end table 66 67 @subheading DESCRIPTION: 68 69 This routine is not supported by RTEMS. 70 71 @subheading NOTES: 72 73 NONE 74 75 @page 76 @subsection execl - Execute a File 72 77 73 78 @subheading CALLING SEQUENCE: … … 76 81 @example 77 82 int execl( 78 ); 79 @end example 80 @end ifset 81 82 @ifset is-Ada 83 @end ifset 84 85 @subheading STATUS CODES: 86 87 @table @b 88 @item E 89 The 90 91 @end table 92 93 @subheading DESCRIPTION: 94 95 @subheading NOTES: 96 97 @page 98 @subsection execv - 83 const char *path, 84 const char *arg, 85 ... 86 ); 87 @end example 88 @end ifset 89 90 @ifset is-Ada 91 @end ifset 92 93 @subheading STATUS CODES: 94 95 @table @b 96 @item ENOSYS 97 This routine is not supported by RTEMS. 98 99 @end table 100 101 @subheading DESCRIPTION: 102 103 This routine is not supported by RTEMS. 104 105 @subheading NOTES: 106 107 NONE 108 109 @page 110 @subsection execv - Execute a File 99 111 100 112 @subheading CALLING SEQUENCE: … … 103 115 @example 104 116 int execv( 105 ); 106 @end example 107 @end ifset 108 109 @ifset is-Ada 110 @end ifset 111 112 @subheading STATUS CODES: 113 114 @table @b 115 @item E 116 The 117 118 @end table 119 120 @subheading DESCRIPTION: 121 122 @subheading NOTES: 123 124 @page 125 @subsection execle - 117 const char *path, 118 char const *argv[], 119 ... 120 ); 121 @end example 122 @end ifset 123 124 @ifset is-Ada 125 @end ifset 126 127 @subheading STATUS CODES: 128 129 @table @b 130 @item ENOSYS 131 This routine is not supported by RTEMS. 132 133 @end table 134 135 @subheading DESCRIPTION: 136 137 This routine is not supported by RTEMS. 138 139 @subheading NOTES: 140 141 NONE 142 143 @page 144 @subsection execle - Execute a File 126 145 127 146 @subheading CALLING SEQUENCE: … … 130 149 @example 131 150 int execle( 132 ); 133 @end example 134 @end ifset 135 136 @ifset is-Ada 137 @end ifset 138 139 @subheading STATUS CODES: 140 141 @table @b 142 @item E 143 The 144 145 @end table 146 147 @subheading DESCRIPTION: 148 149 @subheading NOTES: 150 151 @page 152 @subsection execve - 151 const char *path, 152 const char *arg, 153 ... 154 ); 155 @end example 156 @end ifset 157 158 @ifset is-Ada 159 @end ifset 160 161 @subheading STATUS CODES: 162 163 @table @b 164 @item ENOSYS 165 This routine is not supported by RTEMS. 166 167 @end table 168 169 @subheading DESCRIPTION: 170 171 This routine is not supported by RTEMS. 172 173 @subheading NOTES: 174 175 NONE 176 177 @page 178 @subsection execve - Execute a File 153 179 154 180 @subheading CALLING SEQUENCE: … … 157 183 @example 158 184 int execve( 159 ); 160 @end example 161 @end ifset 162 163 @ifset is-Ada 164 @end ifset 165 166 @subheading STATUS CODES: 167 168 @table @b 169 @item E 170 The 171 172 @end table 173 174 @subheading DESCRIPTION: 175 176 @subheading NOTES: 177 178 @page 179 @subsection execlp - 185 const char *path, 186 char *const argv[], 187 char *const envp[] 188 ); 189 @end example 190 @end ifset 191 192 @ifset is-Ada 193 @end ifset 194 195 @subheading STATUS CODES: 196 197 @table @b 198 @item ENOSYS 199 This routine is not supported by RTEMS. 200 201 @end table 202 203 @subheading DESCRIPTION: 204 205 This routine is not supported by RTEMS. 206 207 @subheading NOTES: 208 209 NONE 210 211 @page 212 @subsection execlp - Execute a File 180 213 181 214 @subheading CALLING SEQUENCE: … … 184 217 @example 185 218 int execlp( 186 ); 187 @end example 188 @end ifset 189 190 @ifset is-Ada 191 @end ifset 192 193 @subheading STATUS CODES: 194 195 @table @b 196 @item E 197 The 198 199 @end table 200 201 @subheading DESCRIPTION: 202 203 @subheading NOTES: 204 205 @page 206 @subsection execvp - 219 const char *file, 220 const char *arg, 221 ... 222 ); 223 @end example 224 @end ifset 225 226 @ifset is-Ada 227 @end ifset 228 229 @subheading STATUS CODES: 230 231 @table @b 232 @item ENOSYS 233 This routine is not supported by RTEMS. 234 235 @end table 236 237 @subheading DESCRIPTION: 238 239 This routine is not supported by RTEMS. 240 241 @subheading NOTES: 242 243 NONE 244 245 @page 246 @subsection execvp - Execute a File 207 247 208 248 @subheading CALLING SEQUENCE: … … 211 251 @example 212 252 int execvp( 213 ); 214 @end example 215 @end ifset 216 217 @ifset is-Ada 218 @end ifset 219 220 @subheading STATUS CODES: 221 222 @table @b 223 @item E 224 The 225 226 @end table 227 228 @subheading DESCRIPTION: 229 230 @subheading NOTES: 231 232 @page 233 @subsection pthread_atfork - 234 235 @subheading CALLING SEQUENCE: 236 237 @ifset is-C 238 @example 253 const char *file, 254 char *const argv[] 255 ... 256 ); 257 @end example 258 @end ifset 259 260 @ifset is-Ada 261 @end ifset 262 263 @subheading STATUS CODES: 264 265 @table @b 266 @item ENOSYS 267 This routine is not supported by RTEMS. 268 269 @end table 270 271 @subheading DESCRIPTION: 272 273 This routine is not supported by RTEMS. 274 275 @subheading NOTES: 276 277 NONE 278 279 @page 280 @subsection pthread_atfork - Register Fork Handlers 281 282 @subheading CALLING SEQUENCE: 283 284 @ifset is-C 285 @example 286 #include <sys/types.h> 287 239 288 int pthread_atfork( 240 ); 241 @end example 242 @end ifset 243 244 @ifset is-Ada 245 @end ifset 246 247 @subheading STATUS CODES: 248 249 @table @b 250 @item E 251 The 252 253 @end table 254 255 @subheading DESCRIPTION: 256 257 @subheading NOTES: 258 259 @page 260 @subsection wait - 261 262 @subheading CALLING SEQUENCE: 263 264 @ifset is-C 265 @example 289 void (*prepare)(void), 290 void (*parent)(void), 291 void (*child)(void) 292 ); 293 @end example 294 @end ifset 295 296 @ifset is-Ada 297 @end ifset 298 299 @subheading STATUS CODES: 300 301 @table @b 302 @item ENOSYS 303 This routine is not supported by RTEMS. 304 305 @end table 306 307 @subheading DESCRIPTION: 308 309 This routine is not supported by RTEMS. 310 311 @subheading NOTES: 312 313 NONE 314 315 @page 316 @subsection wait - Wait for Process Termination 317 318 @subheading CALLING SEQUENCE: 319 320 @ifset is-C 321 @example 322 #include <sys/types.h> 323 #include <sys/wait.h> 324 266 325 int wait( 267 ); 268 @end example 269 @end ifset 270 271 @ifset is-Ada 272 @end ifset 273 274 @subheading STATUS CODES: 275 276 @table @b 277 @item E 278 The 279 280 @end table 281 282 @subheading DESCRIPTION: 283 284 @subheading NOTES: 285 286 @page 287 @subsection waitpid - 288 289 @subheading CALLING SEQUENCE: 290 291 @ifset is-C 292 @example 293 int waitpid( 294 ); 295 @end example 296 @end ifset 297 298 @ifset is-Ada 299 @end ifset 300 301 @subheading STATUS CODES: 302 303 @table @b 304 @item E 305 The 306 307 @end table 308 309 @subheading DESCRIPTION: 310 311 @subheading NOTES: 312 313 @page 314 @subsection _exit - 315 316 @subheading CALLING SEQUENCE: 317 318 @ifset is-C 319 @example 320 int _exit( 321 ); 322 @end example 323 @end ifset 324 325 @ifset is-Ada 326 @end ifset 327 328 @subheading STATUS CODES: 329 330 @table @b 331 @item E 332 The 333 334 @end table 335 336 @subheading DESCRIPTION: 337 338 @subheading NOTES: 339 326 int *stat_loc 327 ); 328 @end example 329 @end ifset 330 331 @ifset is-Ada 332 @end ifset 333 334 @subheading STATUS CODES: 335 336 @table @b 337 @item ENOSYS 338 This routine is not supported by RTEMS. 339 340 @end table 341 342 @subheading DESCRIPTION: 343 344 This routine is not supported by RTEMS. 345 346 @subheading NOTES: 347 348 NONE 349 350 @page 351 @subsection waitpid - Wait for Process Termination 352 353 @subheading CALLING SEQUENCE: 354 355 @ifset is-C 356 @example 357 int wait( 358 pid_t pid, 359 int *stat_loc, 360 int options 361 ); 362 @end example 363 @end ifset 364 365 @ifset is-Ada 366 @end ifset 367 368 @subheading STATUS CODES: 369 370 @table @b 371 @item ENOSYS 372 This routine is not supported by RTEMS. 373 374 @end table 375 376 @subheading DESCRIPTION: 377 378 This routine is not supported by RTEMS. 379 380 @subheading NOTES: 381 382 NONE 383 384 @page 385 @subsection _exit - Terminate a Process 386 387 @subheading CALLING SEQUENCE: 388 389 @ifset is-C 390 @example 391 void _exit( 392 int status 393 ); 394 @end example 395 @end ifset 396 397 @ifset is-Ada 398 @end ifset 399 400 @subheading STATUS CODES: 401 402 NONE 403 404 @subheading DESCRIPTION: 405 406 The @code{_exit()} function terminates the calling process. 407 408 @subheading NOTES: 409 410 In RTEMS, a process is equivalent to the entire application on a single 411 processor. Invoking this service terminates the application.
Note: See TracChangeset
for help on using the changeset viewer.