[Midnightbsd-cvs] src [10553] update man page
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Jun 7 20:45:29 EDT 2018
Revision: 10553
http://svnweb.midnightbsd.org/src/?rev=10553
Author: laffer1
Date: 2018-06-07 20:45:28 -0400 (Thu, 07 Jun 2018)
Log Message:
-----------
update man page
Modified Paths:
--------------
trunk/lib/libc/stdlib/atoll.c
trunk/lib/libc/stdlib/bsearch.3
Property Changed:
----------------
trunk/lib/libc/stdlib/bsearch.3
Modified: trunk/lib/libc/stdlib/atoll.c
===================================================================
--- trunk/lib/libc/stdlib/atoll.c 2018-06-08 00:45:15 UTC (rev 10552)
+++ trunk/lib/libc/stdlib/atoll.c 2018-06-08 00:45:28 UTC (rev 10553)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -15,7 +16,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -33,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/stdlib/atoll.c 251069 2013-05-28 20:57:40Z emaste $");
#include <stdlib.h>
#include <xlocale.h>
Modified: trunk/lib/libc/stdlib/bsearch.3
===================================================================
--- trunk/lib/libc/stdlib/bsearch.3 2018-06-08 00:45:15 UTC (rev 10552)
+++ trunk/lib/libc/stdlib/bsearch.3 2018-06-08 00:45:28 UTC (rev 10553)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1990, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -13,7 +14,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 4. Neither the name of the University nor the names of its contributors
+.\" 3. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
@@ -30,9 +31,9 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)bsearch.3 8.3 (Berkeley) 4/19/94
-.\" $FreeBSD$
+.\" $FreeBSD: stable/10/lib/libc/stdlib/bsearch.3 251069 2013-05-28 20:57:40Z emaste $
.\"
-.Dd April 19, 1994
+.Dd February 22, 2013
.Dt BSEARCH 3
.Os
.Sh NAME
@@ -71,6 +72,12 @@
.Fa key
object is found, respectively, to be less than, to match, or be
greater than the array member.
+See the
+.Fa int_compare
+sample function in
+.Xr qsort 3
+for a comparison function that is also compatible with
+.Fn bsearch .
.Sh RETURN VALUES
The
.Fn bsearch
Property changes on: trunk/lib/libc/stdlib/bsearch.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list