summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/hcreate.3
diff options
context:
space:
mode:
authormmcc <mmcc@openbsd.org>2016-03-12 21:31:22 +0000
committermmcc <mmcc@openbsd.org>2016-03-12 21:31:22 +0000
commit75f7977ef4ea77607f97b8cb6af31f05f56c0d2f (patch)
tree97618199b28184894cb33a26aadbe74cba914be2 /lib/libc/stdlib/hcreate.3
parentBump for LibreSSL 2.4.0 (diff)
downloadwireguard-openbsd-75f7977ef4ea77607f97b8cb6af31f05f56c0d2f.tar.xz
wireguard-openbsd-75f7977ef4ea77607f97b8cb6af31f05f56c0d2f.zip
Remove sentences in RETURN VALUES sections saying that functions with
void return types 'return no value'. This is obvious and therefore unneccessary to mention. We spare rewind(3)'s sentence because espie@ pointed out that it's a warning - the function masks a potential error. This commit also adds a sentence to X509_free clarifying that it's NULL-safe. This bit was discussed with doug@. ok martijn@, sentiment supported by schwarze@
Diffstat (limited to 'lib/libc/stdlib/hcreate.3')
-rw-r--r--lib/libc/stdlib/hcreate.39
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libc/stdlib/hcreate.3 b/lib/libc/stdlib/hcreate.3
index ea264b57c84..610d2f3f88f 100644
--- a/lib/libc/stdlib/hcreate.3
+++ b/lib/libc/stdlib/hcreate.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hcreate.3,v 1.6 2010/07/28 09:00:20 ray Exp $
+.\" $OpenBSD: hcreate.3,v 1.7 2016/03/12 21:31:22 mmcc Exp $
.\" $NetBSD: hcreate.3,v 1.8 2010/05/01 06:18:03 jruoho Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 28 2010 $
+.Dd $Mdocdate: March 12 2016 $
.Dt HCREATE 3
.Os
.Sh NAME
@@ -159,11 +159,6 @@ Otherwise, a value of 0 is returned and
.Va errno
is set to indicate the error.
.Pp
-The
-.Fn hdestroy
-functions
-returns no value.
-.Pp
If successful, the
.Fn hsearch
function returns a pointer to a hash table entry matching