*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> bcmp (3)              
Title
Content
Arch
Section
 

BCMP(3)

Contents


NAME    [Toc]    [Back]

     bcmp - compare byte string

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <strings.h>

     int
     bcmp(const void *b1, const void *b2, size_t len);

DESCRIPTION    [Toc]    [Back]

     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 ALSO    [Toc]    [Back]

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

HISTORY    [Toc]    [Back]

     A bcmp() function first appeared in 4.2BSD.

BSD                              June 4, 1993                              BSD
[ Back ]
 Similar pages
Name OS Title
bcmp Linux compare byte strings
cmp Linux compare two files or byte ranges
memset FreeBSD write a byte to byte string
memset NetBSD write a byte to byte string
memchr FreeBSD locate byte in byte string
memset NetBSD write a byte to byte string
memchr OpenBSD locate byte in byte string
memchr NetBSD locate byte in byte string
memset OpenBSD write a byte to byte string
regexec Tru64 Compare string to regular expression
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service