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.
\fIargv\fP is an array of argument strings passed to the new program.
By convention, the first of these strings should contain the filename
associated with the file being executed.
By convention, the first of these strings (i.e.,
.IR argv[0] )
should contain the filename associated with the file being executed.
\fIenvp\fP is an array of strings, conventionally of the form
\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.