.\" Copyright (c) 1990 The Regents of the University of California. .\" All rights reserved. .\" .\" This code is derived from software contributed to Berkeley by .\" Chris Torek. .\" .\" %sccs.include.redist.man% .\" .\" @(#)bcmp.3 5.1 (Berkeley) 05/15/90 .\" .TH BCMP 3 "" .UC 7 .SH NAME bcmp \- compare byte string .SH SYNOPSIS .nf .ft B #include int bcmp(const char *b1, const char *b2, size_t len); .ft R .fi .SH DESCRIPTION .B Bcmp compares byte string .I b1 against byte string .IR b2 , returning zero if they are identical, non-zero otherwise. Both strings are assumed to be .I len bytes long. Zero-length strings are always identical. .PP The strings may overlap. .SH SEE ALSO bcmp(3), memcmp(3), strcasecmp(3), strcmp(3), strcoll(3), strncasecmp(3), strncmp(3), strxfrm(3)