From 2af170451ab1c3caae54f5889dbbb37e288ebc62 Mon Sep 17 00:00:00 2001 From: jaredy <> Date: Tue, 26 Jul 2005 04:20:23 +0000 Subject: - typos, punctuation, layout, macro tweaks - break long lines ok jmc --- src/lib/libc/stdlib/hcreate.3 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/lib/libc/stdlib/hcreate.3') diff --git a/src/lib/libc/stdlib/hcreate.3 b/src/lib/libc/stdlib/hcreate.3 index d1d4e5c185..a1ad251487 100644 --- a/src/lib/libc/stdlib/hcreate.3 +++ b/src/lib/libc/stdlib/hcreate.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hcreate.3,v 1.1 2004/06/24 04:43:33 millert Exp $ +.\" $OpenBSD: hcreate.3,v 1.2 2005/07/26 04:20:23 jaredy Exp $ .\" $NetBSD: hcreate.3,v 1.6 2003/04/16 13:34:46 wiz Exp $ .\" .\" Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -54,7 +54,7 @@ .Sh DESCRIPTION The .Fn hcreate , -.Fn hdestroy +.Fn hdestroy , and .Fn hsearch functions manage hash search tables. @@ -93,6 +93,7 @@ The argument is of type .Dv ENTRY , a structural type which contains the following members: +.Pp .Bl -tag -compact -offset indent -width voidX*dataXX .It Fa char *key comparison key. @@ -111,7 +112,7 @@ The argument is of type .Dv ACTION , an enumeration type which defines the following values: -.Bl -tag -compact -offset indent -width ENTERXX +.Bl -tag -offset indent -width ENTERXX .It Dv ENTER Insert .Fa item @@ -145,7 +146,7 @@ returns no value. .Pp If successful, the .Fn hsearch -function returns a pointer to hash table entry matching +function returns a pointer to a hash table entry matching the provided key. If the action is .Dv FIND @@ -178,7 +179,7 @@ Insufficient memory is available. .Sh STANDARDS The .Fn hcreate , -.Fn hdestroy +.Fn hdestroy , and .Fn hsearch functions conform to -- cgit v1.2.3-55-g6feb