 |
Index for Section 9r |
|
 |
Alphabetical listing for B |
|
 |
Bottom of page |
|
bcmp(9r)
NAME
bcmp - General: Compares two byte strings
SYNOPSIS
int bcmp(
char *b1,
char *b2,
int n );
ARGUMENTS
b1 Specifies a pointer to a byte string (array of characters).
b2 Specifies a pointer to a byte string (array of characters).
n Specifies the number of bytes to be compared.
DESCRIPTION
The bcmp routine compares byte string b1 to byte string b2. The routine
compares exactly n bytes. No check is made for null bytes.
RETURN VALUES
If the first n bytes of b1 and b2 are equal, the bcmp routine returns the
value 0 (zero). Otherwise, it returns a nonzero integer.
SEE ALSO
Routines: strcmp(9r)
 |
Index for Section 9r |
|
 |
Alphabetical listing for B |
|
 |
Top of page |
|