summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-07-02 08:38:06 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-07-02 08:38:06 +0000
commite40b28859b028a41d9e552ec85061c4fd651df62 (patch)
treef0ddf82edd00def276f6c4dd501075434fbbdb7f /lib/libc
parentfba1c86c9e5c094372ca5eee676e79b86477b976 (diff)
the arrays are null terminated, but the strings are only nul terminated.
Diffstat (limited to 'lib/libc')
-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 6b85cb29792..4784bc321f1 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: execve.2,v 1.23 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: execve.2,v 1.24 2003/07/02 08:38:05 tedu Exp $
.\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -92,7 +92,7 @@ file, is left unchanged.
The argument
.Fa argv
is a pointer to a null-terminated array of
-character pointers to null-terminated character strings.
+character pointers to nul-terminated character strings.
These strings construct the argument list to be made available to the new
process.
At least one argument must be present in the array;
@@ -103,7 +103,7 @@ the name of the executed program (for example, the last component of
The argument
.Fa envp
is also a pointer to a null-terminated array of
-character pointers to null-terminated strings.
+character pointers to nul-terminated strings.
A pointer to this array is normally stored in the global variable
.Va environ .
These strings pass information to the