diff options
Diffstat (limited to 'src/lib/libc/stdlib/hcreate.3')
| -rw-r--r-- | src/lib/libc/stdlib/hcreate.3 | 11 | 
1 files changed, 6 insertions, 5 deletions
| 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 @@ | |||
| 1 | .\" $OpenBSD: hcreate.3,v 1.1 2004/06/24 04:43:33 millert Exp $ | 1 | .\" $OpenBSD: hcreate.3,v 1.2 2005/07/26 04:20:23 jaredy Exp $ | 
| 2 | .\" $NetBSD: hcreate.3,v 1.6 2003/04/16 13:34:46 wiz Exp $ | 2 | .\" $NetBSD: hcreate.3,v 1.6 2003/04/16 13:34:46 wiz Exp $ | 
| 3 | .\" | 3 | .\" | 
| 4 | .\" Copyright (c) 1999 The NetBSD Foundation, Inc. | 4 | .\" Copyright (c) 1999 The NetBSD Foundation, Inc. | 
| @@ -54,7 +54,7 @@ | |||
| 54 | .Sh DESCRIPTION | 54 | .Sh DESCRIPTION | 
| 55 | The | 55 | The | 
| 56 | .Fn hcreate , | 56 | .Fn hcreate , | 
| 57 | .Fn hdestroy | 57 | .Fn hdestroy , | 
| 58 | and | 58 | and | 
| 59 | .Fn hsearch | 59 | .Fn hsearch | 
| 60 | functions manage hash search tables. | 60 | functions manage hash search tables. | 
| @@ -93,6 +93,7 @@ The | |||
| 93 | argument is of type | 93 | argument is of type | 
| 94 | .Dv ENTRY , | 94 | .Dv ENTRY , | 
| 95 | a structural type which contains the following members: | 95 | a structural type which contains the following members: | 
| 96 | .Pp | ||
| 96 | .Bl -tag -compact -offset indent -width voidX*dataXX | 97 | .Bl -tag -compact -offset indent -width voidX*dataXX | 
| 97 | .It Fa char *key | 98 | .It Fa char *key | 
| 98 | comparison key. | 99 | comparison key. | 
| @@ -111,7 +112,7 @@ The | |||
| 111 | argument is of type | 112 | argument is of type | 
| 112 | .Dv ACTION , | 113 | .Dv ACTION , | 
| 113 | an enumeration type which defines the following values: | 114 | an enumeration type which defines the following values: | 
| 114 | .Bl -tag -compact -offset indent -width ENTERXX | 115 | .Bl -tag -offset indent -width ENTERXX | 
| 115 | .It Dv ENTER | 116 | .It Dv ENTER | 
| 116 | Insert | 117 | Insert | 
| 117 | .Fa item | 118 | .Fa item | 
| @@ -145,7 +146,7 @@ returns no value. | |||
| 145 | .Pp | 146 | .Pp | 
| 146 | If successful, the | 147 | If successful, the | 
| 147 | .Fn hsearch | 148 | .Fn hsearch | 
| 148 | function returns a pointer to hash table entry matching | 149 | function returns a pointer to a hash table entry matching | 
| 149 | the provided key. | 150 | the provided key. | 
| 150 | If the action is | 151 | If the action is | 
| 151 | .Dv FIND | 152 | .Dv FIND | 
| @@ -178,7 +179,7 @@ Insufficient memory is available. | |||
| 178 | .Sh STANDARDS | 179 | .Sh STANDARDS | 
| 179 | The | 180 | The | 
| 180 | .Fn hcreate , | 181 | .Fn hcreate , | 
| 181 | .Fn hdestroy | 182 | .Fn hdestroy , | 
| 182 | and | 183 | and | 
| 183 | .Fn hsearch | 184 | .Fn hsearch | 
| 184 | functions conform to | 185 | functions conform to | 
