1BCMP(3) 386BSD Programmer's Manual BCMP(3) 2 3NNAAMMEE 4 bbccmmpp - compare byte string 5 6SSYYNNOOPPSSIISS 7 ##iinncclluuddee <<ssttrriinngg..hh>> 8 9 _i_n_t 10 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) 11 12DDEESSCCRRIIPPTTIIOONN 13 The bbccmmpp() function compares byte string _b_1 against byte string _b_2, 14 returning zero if they are identical, non-zero otherwise. Both strings 15 are assumed to be _l_e_n bytes long. Zero-length strings are always 16 identical. 17 18 The strings may overlap. 19 20SSEEEE AALLSSOO 21 bcmp(3), memcmp(3), strcasecmp(3), strcmp(3), strcoll(3), strxfrm(3) 22 23HHIISSTTOORRYY 24 A bbccmmpp() function first appeared in 4.2BSD. 25 264.2 Berkeley Distribution April 19, 1991 1 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67