summaryrefslogtreecommitdiff
path: root/lib/libc/ohash/ohash_interval.3
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-02-25 03:12:45 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-02-25 03:12:45 +0000
commit8e555d953d4a7e8702ccb2d29b39ad91d179ce95 (patch)
tree6c0a9ec621640942bf2aabca87382a65abb1cd77 /lib/libc/ohash/ohash_interval.3
parent8dcf2d1387109e43cabbf8b12a6bf3dd3ed2613d (diff)
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/ohash/ohash_interval.3')
-rw-r--r--lib/libc/ohash/ohash_interval.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/ohash/ohash_interval.3 b/lib/libc/ohash/ohash_interval.3
index 386f4dc31d5..0f84760e5f3 100644
--- a/lib/libc/ohash/ohash_interval.3
+++ b/lib/libc/ohash/ohash_interval.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ohash_interval.3,v 1.8 2004/10/04 13:47:00 espie Exp $
+.\" $OpenBSD: ohash_interval.3,v 1.9 2005/02/25 03:12:43 cloder Exp $
.\" Copyright (c) 2001 Marc Espie <espie@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -37,7 +37,7 @@
.Sh DESCRIPTION
These functions are commonly used to simplify open hashing usage, and use
similar conventions.
-They operate indifferently on null-terminated strings
+They operate indifferently on NUL-terminated strings
.Po
by setting
.Fa *pend
@@ -51,10 +51,10 @@ delimited by
and
.Fa *pend
.Pc .
-For null-terminated strings, as a side effect, those functions
+For NUL-terminated strings, as a side effect, those functions
set
.Fa *pend
-to the terminating null byte.
+to the terminating NUL byte.
.Pp
.Fn ohash_interval
is a simple hashing function that yields good results on common data sets.
@@ -77,7 +77,7 @@ and
.Fn ohash_qlookup
is a variation on
.Fn ohash_qlookupi
-designed for null-terminated strings.
+designed for NUL-terminated strings.
.Sh SEE ALSO
.Xr ohash_init 3
.Sh STANDARDS