aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/execve.26
1 files changed, 6 insertions, 0 deletions
diff --git a/man2/execve.2 b/man2/execve.2
index 59af1cc473..c6c341e30f 100644
--- a/man2/execve.2
+++ b/man2/execve.2
@@ -75,6 +75,12 @@ int main(int argc, char *argv[], char *envp[])
.fi
.in
+Note, however, that the use of a third argument to the main function
+is not specified in POSIX.1;
+according to POSIX.1,
+the environment should be accessed via the external variable
+.BR environ (7).
+
.BR execve ()
does not return on success, and the text, inititialized data,
uninitialized data (bss), and stack of the calling process are overwritten