From 5260de5ec7324cb1dd24ffa0d17944e7b4f2ce3b Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 5 Aug 2000 16:38:24 +0000 Subject: 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. --- lib/libc/sys/execve.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc') 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 -- cgit v1.1