Hello Josh, On 3/8/21 12:00 AM, Josh Triplett wrote:
The envp argument specifies the environment of the new process image, not "the environment of the caller". Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
I applied both patches. Thanks, Alex
--- man3/exec.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/exec.3 b/man3/exec.3 index 211e06421..3d936d08d 100644 --- a/man3/exec.3 +++ b/man3/exec.3 @@ -116,7 +116,7 @@ The array of pointers .I must be terminated by a null pointer. .SS e - execle(), execvpe() -The environment of the caller is specified via the argument +The environment of the new process image is specified via the argument .IR envp . The .I envp
-- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/