From 56c995d658bf6dd17e077c1e6e5717f94d8dbf8c Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 24 Mar 2020 19:33:21 +0000 Subject: [PATCH] exec{l,v}{e,p} arrived in 7th Edition research Unix to support the Bourne Shell which introduced environment variables. Document that here. Verified by consulting the TUHS archive. --- lib/libc/gen/exec.3 | 8 ++++++++ lib/libc/sys/execve.2 | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index 0a6e78c95ca7..37954fe1bf75 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -322,6 +322,14 @@ and functions appeared in .At v2 . The +.Fn execlp , +.Fn execle , +.Fn execve , +and +.Fn execvp +functions appeared in +.At v7 . +The .Fn execvP function first appeared in .Fx 5.2 . diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 598c264dbc0d..ecebd9755f8d 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -346,7 +346,7 @@ system call conforms to The Open Group Extended API Set 2 specification. The .Fn execve system call appeared in -.Bx 4.2 . +.At V7 . The .Fn fexecve system call appeared in