summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/string.3
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/string/string.3
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/string/string.3')
-rw-r--r--lib/libc/string/string.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/string.3 b/lib/libc/string/string.3
index 89034ac24c4..690cf4dbda9 100644
--- a/lib/libc/string/string.3
+++ b/lib/libc/string/string.3
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: string.3,v 1.10 2004/02/09 20:53:12 jmc Exp $
+.\" $OpenBSD: string.3,v 1.11 2005/02/25 03:12:44 cloder Exp $
.\"
.Dd April 19, 1991
.Dt STRING 3
@@ -84,11 +84,11 @@
.Sh DESCRIPTION
The string functions
manipulate strings terminated by a
-null byte.
+NUL byte.
.Pp
See the specific manual pages for more information.
For manipulating variable length generic objects as byte
-strings (without the null byte check), see
+strings (without the NUL-byte check), see
.Xr bstring 3 .
.Pp
Except as noted in their specific manual pages,