home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat3
/
bcmp.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
990b
|
67 lines
BCMP(3) UNIX 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, nonzero otherwise. Both strings are
assumed to be _l_e_n bytes long. Zerolength 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 April 19, 1991 1