|
|
1.1 root 1:
2:
3: execv() COHERENT System Call execv()
4:
5:
6:
7:
8: Execute a load module
9:
10: eexxeeccvv(_f_i_l_e, _a_r_g_v)
11: cchhaarr *_f_i_l_e, *_a_r_g_v[];
12:
13: The COHERENT system includes six functions that allow a process
14: to execute another executable file (or load module, as described
15: in the header l.out.h). execv specifies arguments as a single,
16: NULL-terminated array of parameters, called argv. Unlike the
17: related program execve, execv passes the environment of the
18: calling program to the called program. For more information on
19: program execution, see execution.
20:
21: ***** See Also *****
22:
23: COHERENT system calls, environ, execution
24:
25: ***** Diagnostics *****
26:
27: execv does not return if successful. It returns -1 for errors,
28: such as file being nonexistent, not accessible with execute per-
29: mission, having a bad format, or too large to fit in memory.
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: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.