execve.2: Minor clarification

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-09-12 06:13:05 +01:00
parent af5b74504f
commit f9429ced31
1 changed files with 2 additions and 1 deletions

View File

@ -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: