git: 6d37c3db62ba - main - bcmp(3): update manpage to following the Posix Standard

From: Pouria Mousavizadeh Tehrani <pouria_at_FreeBSD.org>
Date: Mon, 02 Feb 2026 07:01:52 UTC
The branch main has been updated by pouria:

URL: https://cgit.FreeBSD.org/src/commit/?id=6d37c3db62ba32a1e95f390e8570722bfa8ff8a5

commit 6d37c3db62ba32a1e95f390e8570722bfa8ff8a5
Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-02-02 06:51:38 +0000
Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-02-02 06:58:26 +0000

    bcmp(3): update manpage to following the Posix Standard
    
    Reviewed by: glebius
    Approved by: glebius (mentor)
    Differential Revision: https://reviews.freebsd.org/D52980
---
 lib/libc/string/bcmp.3 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/lib/libc/string/bcmp.3 b/lib/libc/string/bcmp.3
index 954e10bfdeab..ec3caa0f1c9f 100644
--- a/lib/libc/string/bcmp.3
+++ b/lib/libc/string/bcmp.3
@@ -27,7 +27,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 15, 2016
+.Dd October 8, 2025
 .Dt BCMP 3
 .Os
 .Sh NAME
@@ -73,3 +73,11 @@ before it was moved to
 for
 .St -p1003.1-2001
 compliance.
+.Pp
+.St -p1003.1-2008
+removes the specification of
+.Fn bcmp
+and it is marked as LEGACY in
+.St -p1003.1-2004 .
+For portability with other systems new programs should use
+.Xr memcmp 3 .