Skip to contentSkip to conversation

exec.3: Fix description of 'e' variants

PATCH In review Alejandro Colomar 2 participants 2 messages Mar 19, 2021 – Apr 4, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exec.3: Fix description of 'e' variants

From: Josh Triplett <[email protected]>

The envp argument specifies the environment of the new process image, not "the environment of the caller".

---
 man3/exec.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/exec.3 +1 -1
index 211e06421..3d936d08d 100644
@@ -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
Signature · 1 line
2.30.1
#1 lore raw

Hi Alex,

Quoted 4 lines · Alejandro Colomar

From: Josh Triplett <[email protected]>

The envp argument specifies the environment of the new process image, not "the environment of the caller".

Thanks. Patch applied.

Cheers,

Michael

Quoted 20 lines
---
 man3/exec.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/exec.3 +1 -1
index 211e06421..3d936d08d 100644
@@ -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
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/