Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 04:51:21 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r313724 - stable/11/lib/libc/stdlib
Message-ID:  <201702140451.v1E4pLt3038843@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Feb 14 04:51:21 2017
New Revision: 313724
URL: https://svnweb.freebsd.org/changeset/base/313724

Log:
  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).

Modified:
  stable/11/lib/libc/stdlib/hcreate.3
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/stdlib/hcreate.3
==============================================================================
--- stable/11/lib/libc/stdlib/hcreate.3	Tue Feb 14 04:49:24 2017	(r313723)
+++ stable/11/lib/libc/stdlib/hcreate.3	Tue Feb 14 04:51:21 2017	(r313724)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702140451.v1E4pLt3038843>