summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorcloder <cloder@openbsd.org>2005-02-25 03:12:43 +0000
committercloder <cloder@openbsd.org>2005-02-25 03:12:43 +0000
commit1e5ede29f718fe4f17c128f8fde29ac3824349f1 (patch)
treefd6e65cd34239687cd19bb98f99ffdf5a9155023 /lib/libc/sys
parentFix an obviously incorrect call to memset. '0' and 0 are not the same (diff)
downloadwireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.tar.xz
wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.zip
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/acct.24
-rw-r--r--lib/libc/sys/execve.26
-rw-r--r--lib/libc/sys/getlogin.24
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2
index abee854b4d5..80c8f7d3943 100644
--- a/lib/libc/sys/acct.2
+++ b/lib/libc/sys/acct.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acct.2,v 1.9 2003/06/02 20:18:38 millert Exp $
+.\" $OpenBSD: acct.2,v 1.10 2005/02/25 03:12:44 cloder Exp $
.\" $NetBSD: acct.2,v 1.6 1995/02/27 12:31:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -51,7 +51,7 @@ is
accounting is disabled.
If
.Fa file
-is an existing, null-terminated pathname, record collection is enabled
+is an existing, NUL-terminated pathname, record collection is enabled
and for every process initiated which terminates under normal conditions
an accounting record is appended to
.Fa file .
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 4fc2e838b21..6d020de9526 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: execve.2,v 1.29 2004/07/05 23:04:43 jmc Exp $
+.\" $OpenBSD: execve.2,v 1.30 2005/02/25 03:12:44 cloder Exp $
.\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -93,7 +93,7 @@ file, is left unchanged.
The argument
.Fa argv
is a pointer to a null-terminated array of
-character pointers to nul-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;
@@ -104,7 +104,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 nul-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
diff --git a/lib/libc/sys/getlogin.2 b/lib/libc/sys/getlogin.2
index 81af636237e..3d0e41647e4 100644
--- a/lib/libc/sys/getlogin.2
+++ b/lib/libc/sys/getlogin.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getlogin.2,v 1.16 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: getlogin.2,v 1.17 2005/02/25 03:12:44 cloder Exp $
.\" $NetBSD: getlogin.2,v 1.4 1995/02/27 12:33:03 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -133,7 +133,7 @@ precautions to prevent security violations.
.Sh RETURN VALUES
If a call to
.Fn getlogin
-succeeds, it returns a pointer to a null-terminated string in a static buffer.
+succeeds, it returns a pointer to a NUL-terminated string in a static buffer.
If the name has not been set, it returns
.Dv NULL .
If a call to