Query: bcmp
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
bcmp(9F) Kernel Functions for Drivers bcmp(9F)NAMEbcmp - compare two byte arraysSYNOPSIS#include <sys/types.h> #include <sys/ddi.h> int bcmp(const void *s1, const void *s2, size_t len);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSs1 Pointer to the first character string. s2 Pointer to the second character string. len Number of bytes to be compared.DESCRIPTIONbcmp() compares two byte arrays of length len.RETURN VALUESbcmp() returns 0 if the arrays are identical, or 1 if they are not.CONTEXTbcmp() can be called from user or interrupt context.SEE ALSOstrcmp(9F) Writing Device DriversNOTESUnlike strcmp(9F), bcmp() does not terminate when it encounters a null byte. SunOS 5.10 1 May 1996 bcmp(9F)
Related Man Pages |
---|
bcmp(3) - centos |
bcmp(3) - osf1 |
bcopy(3) - osf1 |
bcmp(3) - minix |
bcmp(3) - php |