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

  man pages->Tru64 Unix man pages -> bcmp (9r)              
Title
Content
Arch
Section
 

bcmp(9r)

Contents


NAME    [Toc]    [Back]

       bcmp - General: Compares two byte strings

SYNOPSIS    [Toc]    [Back]

       int bcmp(
               char *b1,
               char *b2,
               int n );

ARGUMENTS    [Toc]    [Back]

       Specifies  a  pointer  to  a byte string (array of characters).
  Specifies a pointer to a  byte  string  (array  of
       characters).   Specifies  the  number  of bytes to be compared.

DESCRIPTION    [Toc]    [Back]

       The bcmp routine compares byte string b1  to  byte  string
       b2. The routine compares exactly n bytes. No check is made
       for null bytes.

RETURN VALUES    [Toc]    [Back]

       If the first n bytes of b1 and b2 are equal, the bcmp routine
  returns  the value 0 (zero). Otherwise, it returns a
       nonzero integer.

SEE ALSO    [Toc]    [Back]

      
      
       Routines: strcmp(9r)



                                                         bcmp(9r)
[ Back ]
 Similar pages
Name OS Title
strncmp Tru64 General: Compares two strings, using a specified number of characters
strcmp Tru64 General: Compares two null-terminated character strings
strcoll Tru64 Compares strings using locale collation
XmStringCompare Tru64 A compound string function that compares two strings
XmStringCompare HP-UX A compound string function that compares two strings
XmStringCompare IRIX A compound string function that compares two strings
bcmp Linux compare byte strings
bcopy Linux copy byte strings
dmParamsFlatten IRIX convert digital media parameter lists to and from byte strings
ovbcopy Tru64 General: Copies a byte string with a specified limit
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service