BCMP

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
BSD 4.2  

NAME

bcmp - compare byte string  

SYNOPSIS

Fd #include <string.h> Ft int Fn bcmp const void *b1 const void *b2 size_t len  

DESCRIPTION

The Fn bcmp function compares byte string Fa b1 against byte string Fa b2 , returning zero if they are identical, non-zero otherwise. Both strings are assumed to be Fa len bytes long. Zero-length strings are always identical.

The strings may overlap.  

SEE ALSO

memcmp(3), strcasecmp(3), strcmp(3), strcoll(3), strxfrm(3)  

HISTORY

A Fn bcmp function first appeared in BSD 4.2


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 21:44:10 GMT, August 05, 2022