aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-28 10:11:47 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-28 12:11:06 +0100
commita079bfc9555b7ac5cb548a3fd1d7544553fbd6f3 (patch)
tree3d7b66d54131e90328275d98efee864b2799fd6e /man7
parentfc0bcf3cfe85a416ad59996cc9b556297696eded (diff)
downloadman-pages-a079bfc9555b7ac5cb548a3fd1d7544553fbd6f3.tar.gz
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>
Diffstat (limited to 'man7')
-rw-r--r--man7/environ.74
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/environ.7 b/man7/environ.7
index dac7f94bdf..76ca12548c 100644
--- a/man7/environ.7
+++ b/man7/environ.7
@@ -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