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

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

BCMP(3)

Contents


NAME    [Toc]    [Back]

     bcmp - compare byte string

SYNOPSIS    [Toc]    [Back]

     #include <string.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.

OpenBSD      3.6                          April      19,     1991
[ 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