mirror of https://github.com/mkerrisk/man-pages
execve.2: Minor clarification
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
af5b74504f
commit
f9429ced31
|
@ -63,7 +63,8 @@ By convention, the first of these strings (i.e.,
|
||||||
should contain the filename associated with the file being executed.
|
should contain the filename associated with the file being executed.
|
||||||
\fIenvp\fP is an array of strings, conventionally of the form
|
\fIenvp\fP is an array of strings, conventionally of the form
|
||||||
\fBkey=value\fP, which are passed as environment to the new program.
|
\fBkey=value\fP, which are passed as environment to the new program.
|
||||||
Both \fIargv\fP and \fIenvp\fP must be terminated by a null pointer.
|
The \fIargv\fP and \fIenvp\fP arrays must each include a null pointer
|
||||||
|
at the end of the array.
|
||||||
|
|
||||||
The argument vector and environment can be accessed by the
|
The argument vector and environment can be accessed by the
|
||||||
called program's main function, when it is defined as:
|
called program's main function, when it is defined as:
|
||||||
|
|
Loading…
Reference in New Issue