DOKK / manpages / debian 12 / manpages-dev / bcmp.3.en
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 it instead.

4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001); POSIX.1-2008 removes the specification of bcmp().

memcmp(3)

2023-01-07 Linux man-pages 6.03