| 1 |
.\" Copyright, the authors of the Linux man-pages project |
| 2 |
.\" |
| 3 |
.\" SPDX-License-Identifier: Linux-man-pages-copyleft |
| 4 |
.\" |
| 5 |
.TH bcmp 3 2025-09-07 "Linux man-pages 6.18" |
| 6 |
.SH NAME |
| 7 |
bcmp \- compare byte sequences |
| 8 |
.SH LIBRARY |
| 9 |
Standard C library |
| 10 |
.RI ( libc ,\~ \-lc ) |
| 11 |
.SH SYNOPSIS |
| 12 |
.nf |
| 13 |
.B #include <strings.h> |
| 14 |
.P |
| 15 |
.BR "[[deprecated]] int bcmp(" "size_t n;" |
| 16 |
.BI " const void " s1 [ n "], const void " s2 [ n "], size_t " n ); |
| 17 |
.fi |
| 18 |
.SH DESCRIPTION |
| 19 |
.BR bcmp () |
| 20 |
is identical to |
| 21 |
.BR memcmp (3); |
| 22 |
use the latter instead. |
| 23 |
.SH STANDARDS |
| 24 |
None. |
| 25 |
.SH HISTORY |
| 26 |
4.3BSD. |
| 27 |
Marked as LEGACY in POSIX.1-2001; |
| 28 |
removed in POSIX.1-2008. |
| 29 |
.SH SEE ALSO |
| 30 |
.BR memcmp (3) |