summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2023-06-26 06:58:19 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2023-06-26 06:58:19 +0000
commit0e5cbe030f90d99bc860f71c3ef635092ad69691 (patch)
tree78d7a44a7bef3aa395b6f8841880b8d30e7fd2f4 /lib
parentd664c3e46ea1a325a17ac29f0d8d758c5a8810bf (diff)
document handling of NULL envp as an extension;
from lucas de sena ok espie
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/posix_spawn.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/gen/posix_spawn.3 b/lib/libc/gen/posix_spawn.3
index 8ba461d735b..f56abab1004 100644
--- a/lib/libc/gen/posix_spawn.3
+++ b/lib/libc/gen/posix_spawn.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: posix_spawn.3,v 1.9 2017/10/17 22:47:58 schwarze Exp $
+.\" $OpenBSD: posix_spawn.3,v 1.10 2023/06/26 06:58:18 jmc Exp $
.\"
.\" Copyright (c) 2012 Marc Espie <espie@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 17 2017 $
+.Dd $Mdocdate: June 26 2023 $
.Dt POSIX_SPAWN 3
.Os
.Sh NAME
@@ -122,6 +122,10 @@ with exit status 127.
.Sh STANDARDS
Both functions conform to
.St -p1003.1-2001 .
+.Pp
+The handling of NULL
+.Fa envp
+is an extension to that standard.
.Sh HISTORY
These functions were ported from
.Fx