BCMP(3) BSD Programmer's Manual BCMP(3) NNAAMMEE bbccmmpp - compare byte string SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttrriinngg..hh>> _i_n_t bbccmmpp(_c_o_n_s_t _v_o_i_d _*_b_1, _c_o_n_s_t _v_o_i_d _*_b_2, _s_i_z_e___t _l_e_n); DDEESSCCRRIIPPTTIIOONN The bbccmmpp() function compares byte string _b_1 against byte string _b_2, re- turning zero if they are identical, non-zero otherwise. Both strings are assumed to be _l_e_n bytes long. Zero-length strings are always identical. The strings may overlap. SSEEEE AALLSSOO bcmp(3), memcmp(3), strcasecmp(3), strcmp(3), strcoll(3), strxfrm(3) HHIISSTTOORRYY A bbccmmpp() function first appeared in 4.2BSD. 4.2 Berkeley Distribution June 4, 1993 1