summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/hcreate.3
diff options
context:
space:
mode:
authormmcc <>2016-03-12 21:31:22 +0000
committermmcc <>2016-03-12 21:31:22 +0000
commitd692c27f466b0683d4f7dd5f72058e64e04f0cd4 (patch)
tree41d48a54c09f49f4e37617cd4f79d217bf4250a8 /src/lib/libc/stdlib/hcreate.3
parentb5aa7e790e535fc940826232ac1bf67aeb800cb0 (diff)
downloadopenbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.tar.gz
openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.tar.bz2
openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.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 'src/lib/libc/stdlib/hcreate.3')
-rw-r--r--src/lib/libc/stdlib/hcreate.39
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/libc/stdlib/hcreate.3 b/src/lib/libc/stdlib/hcreate.3
index ea264b57c8..610d2f3f88 100644
--- a/src/lib/libc/stdlib/hcreate.3
+++ b/src/lib/libc/stdlib/hcreate.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: hcreate.3,v 1.6 2010/07/28 09:00:20 ray Exp $ 1.\" $OpenBSD: hcreate.3,v 1.7 2016/03/12 21:31:22 mmcc Exp $
2.\" $NetBSD: hcreate.3,v 1.8 2010/05/01 06:18:03 jruoho Exp $ 2.\" $NetBSD: hcreate.3,v 1.8 2010/05/01 06:18:03 jruoho Exp $
3.\" 3.\"
4.\" Copyright (c) 1999 The NetBSD Foundation, Inc. 4.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29.\" POSSIBILITY OF SUCH DAMAGE. 29.\" POSSIBILITY OF SUCH DAMAGE.
30.\" 30.\"
31.Dd $Mdocdate: July 28 2010 $ 31.Dd $Mdocdate: March 12 2016 $
32.Dt HCREATE 3 32.Dt HCREATE 3
33.Os 33.Os
34.Sh NAME 34.Sh NAME
@@ -159,11 +159,6 @@ Otherwise, a value of 0 is returned and
159.Va errno 159.Va errno
160is set to indicate the error. 160is set to indicate the error.
161.Pp 161.Pp
162The
163.Fn hdestroy
164functions
165returns no value.
166.Pp
167If successful, the 162If successful, the
168.Fn hsearch 163.Fn hsearch
169function returns a pointer to a hash table entry matching 164function returns a pointer to a hash table entry matching