bcmp(3) Library Functions Manual bcmp(3)

bcmp - compare byte sequences

Standard C library (libc, -lc)

#include <strings.h>
[[deprecated]] int bcmp(const void s1[.n], const void s2[.n], size_t n);

bcmp() is identical to memcmp(3); use the latter instead.

None.

4.3BSD. Marked as LEGACY in POSIX.1-2001; removed in POSIX.1-2008.

memcmp(3)

2023-11-02 Linux man-pages 6.7