environ.7: Be a little more precise when discussing 'exec'

Say "execve(2)" instead of "exec(3)", and note that this step
starts a new program (not a new process!).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-01-28 10:11:47 +01:00
parent fc0bcf3cfe
commit a079bfc955
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ The variable
points to an array of pointers to strings called the "environment".
The last pointer in this array has the value NULL.
This array of strings is made available to the process by the
.BR exec (3)
call that started the process.
.BR execve (2)
call when a new program is started.
When a child process is created via
.BR fork (2),
it inherits a