12.07.2015 Views

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BCMP (9) <strong>NetBSD</strong> <strong>Kernel</strong> Developer’s <strong>Manual</strong> BCMP (9)<strong>NAME</strong>bcmp —compare byte stringSYNOPSIS#include intbcmp(const void ∗b1 , const void ∗b2 , size_t len);DESCRIPTIONThe bcmp() interface is obsolete. Do not add new code using it. It will soon be purged. Usememcmp(9) instead. (The bcmp() function is now amacro for memcmp(9).)The bcmp() function compares byte string b1 against byte string b2, returning zero if they are identical,non-zero otherwise. Both strings are assumed to be len bytes long. Zero-length strings are always identical.The strings may overlap.SEE ALSOmemcmp(9)<strong>NetBSD</strong> 3.0 July 7, 2001 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!