Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - these functions deal with process creation, execution and termination, http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
These functions deal with process creation, execution and termination,
signal handling, and timer operations.

When a new process is started, it may replace the existing process

 .  P_OVERLAY is specified with the  spawn...  functions
 .  the  exec...  routines are invoked

or the existing process may be suspended while the new process executes
(control continues at the point following the place where the new process
was started)

 .  P_WAIT is specified with the  spawn...  functions
 .  system is used

The following functions are defined:

abort
    immediate termination of process, return code 3

atexit
    register exit routine

_beginthread
    start a new thread of execution

cwait
    wait for a child process to terminate

delay
    delay for number of milliseconds

_endthread
    end the current thread

execl (see exec)
    chain to program

execle (see exec)
    chain to program, pass environment

execlp (see exec)
    chain to program

execlpe (see exec)
    chain to program, pass environment

execv (see exec)
    chain to program

execve (see exec)
    chain to program, pass environment

execvp (see exec)
    chain to program

execvpe (see exec)
    chain to program, pass environment

exit
    exit process, set return code

_exit
    exit process, set return code

onexit
    register exit routine

raise
    signal an exceptional condition

signal
    set handling for exceptional condition

sleep
    delay for number of seconds

spawnl (see spawn)
    create process

spawnle (see spawn)
    create process, set environment

spawnlp (see spawn)
    create process

spawnlpe (see spawn)
    create process, set environment

spawnv (see spawn)
    create process

spawnve (see spawn)
    create process, set environment

spawnvp (see spawn)
    create process

spawnvpe (see spawn)
    create process, set environment

system
    execute system command

wait
    wait for any child process to terminate

_wexecl (see exec)
    chain to program

_wexecle (see exec)
    chain to program, pass environment

_wexeclp (see exec)
    chain to program

_wexeclpe (see exec)
    chain to program, pass environment

_wexecv (see exec)
    chain to program

_wexecve (see exec)
    chain to program, pass environment

_wexecvp (see exec)
    chain to program

_wexecvpe (see exec)
    chain to program, pass environment

_wspawnl (see spawn)
    create process

_wspawnle (see spawn)
    create process, set environment

_wspawnlp (see spawn)
    create process

_wspawnlpe (see spawn)
    create process, set environment

_wspawnv (see spawn)
    create process

_wspawnve (see spawn)
    create process, set environment

_wspawnvp (see spawn)
    create process

_wspawnvpe (see spawn)
    create process, set environment

_wsystem (see system)
    execute system command

There are eight  spawn...  and  exec...  functions each.  The "..." is one
to three letters:

 .  "l" or "v" (one is required) to indicate the way the process parameters
    are passed
 .  "p" (optional) to indicate whether the PATH environment variable is
    searched to locate the program for the process
 .  "e" (optional) to indicate that the environment variables are being
    passed

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson