| 1 |
.\" Copyright 2022 Alejandro Colomar <[email protected]> |
| 2 |
.\" |
| 3 |
.\" SPDX-License-Identifier: Linux-man-pages-copyleft |
| 4 |
.\" |
| 5 |
.TH bcmp 3 2024-05-02 "Linux man-pages 6.9.1" |
| 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 |
.BI "[[deprecated]] int bcmp(const void " s1 [. n "], const void " s2 [. n "], \ |
| 16 |
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) |