aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPouria Mousavizadeh Tehrani <pouria@FreeBSD.org>2026-02-02 06:51:38 +0000
committerPouria Mousavizadeh Tehrani <pouria@FreeBSD.org>2026-02-02 06:58:26 +0000
commit6d37c3db62ba32a1e95f390e8570722bfa8ff8a5 (patch)
treeb98b3a171cb4bbbf9dcf30310b6e4c1a8e82085f
parent49d75d93206a9f3e92a5c6ff9cddb80c6cf77581 (diff)
bcmp(3): update manpage to following the Posix Standard
Reviewed by: glebius Approved by: glebius (mentor) Differential Revision: https://reviews.freebsd.org/D52980
-rw-r--r--lib/libc/string/bcmp.310
1 files changed, 9 insertions, 1 deletions
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 .