diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-14 04:51:21 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-14 04:51:21 +0000 |
commit | 849dae7fa21980ba4d737a6c42873d79db2a58ec (patch) | |
tree | a66e0e1b41919fc952ca8a5f656a48f4c6254dca /lib/libc/stdlib | |
parent | fd4efe7005d534e18d7a9fc8ca44aa1cdb8bf9eb (diff) | |
download | FreeBSD-src-849dae7fa21980ba4d737a6c42873d79db2a58ec.zip FreeBSD-src-849dae7fa21980ba4d737a6c42873d79db2a58ec.tar.gz |
MFC r313374:
hcreate(3): fix the ERRORS section and bump .Dd
- Add missing comma between functions that trigger ENOMEM error.
- Fix the description for ESRCH. The action that triggers this error is
FIND, not SEARCH (SEARCH does not exist).
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/hcreate.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/hcreate.3 b/lib/libc/stdlib/hcreate.3 index 5709157..260aa91 100644 --- a/lib/libc/stdlib/hcreate.3 +++ b/lib/libc/stdlib/hcreate.3 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 26, 2015 +.Dd February 6, 2017 .Dt HCREATE 3 .Os .Sh NAME @@ -265,9 +265,9 @@ main(void) .Ed .Sh ERRORS The -.Fn hcreate +.Fn hcreate , .Fn hcreate_r , -.Fn hsearch +.Fn hsearch , and .Fn hsearch_r functions will fail if: @@ -281,7 +281,7 @@ The and .Fn hsearch_r functions will also fail if the action is -.Dv SEARCH +.Dv FIND and the element is not found: .Bl -tag -width Er .It Bq Er ESRCH |