execve.2: Minor clarification

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-09-12 06:07:32 +01:00
parent 8b4be846c7
commit ce2ca8cc4f
1 changed files with 3 additions and 2 deletions

View File

@ -58,8 +58,9 @@ starting with a line of the form:
For details of the latter case, see "Interpreter scripts" below. For details of the latter case, see "Interpreter scripts" below.
\fIargv\fP is an array of argument strings passed to the new program. \fIargv\fP is an array of argument strings passed to the new program.
By convention, the first of these strings should contain the filename By convention, the first of these strings (i.e.,
associated with the file being executed. .IR argv[0] )
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. Both \fIargv\fP and \fIenvp\fP must be terminated by a null pointer.