summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorben <ben@FreeBSD.org>2000-08-05 16:38:24 +0000
committerben <ben@FreeBSD.org>2000-08-05 16:38:24 +0000
commit5260de5ec7324cb1dd24ffa0d17944e7b4f2ce3b (patch)
tree233a5ca19ae08ad36102c0e82420605df3d1e22f /lib
parented11ad051e641a752fbbb3695b7e197bbe0849d2 (diff)
downloadFreeBSD-src-5260de5ec7324cb1dd24ffa0d17944e7b4f2ce3b.zip
FreeBSD-src-5260de5ec7324cb1dd24ffa0d17944e7b4f2ce3b.tar.gz
Fix description of argv[0] passed to interpreted scripts; it's the name of
the interpreter, _not_ the argv[0] passed in the original exec() call.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/execve.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 5a73643..dffa6ae 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -84,9 +84,9 @@ file becomes the second argument;
otherwise, the name of the originally
.Sy execve Ap d
file becomes the first argument. The original arguments are shifted over to
-become the subsequent arguments. The zeroth argument, normally the name of the
-.Sy execve Ap d
-file, is left unchanged.
+become the subsequent arguments.
+The zeroth argument is set to the specified
+.Em interpreter .
.Pp
The argument
.Fa argv
OpenPOWER on IntegriCloud