Linux Man Pages

Unix Manual Pages Home

Free Linux Documentation

Manual pages sections
Almost all UNIX operating systems have voluminous documentation known as manual pages. Every page is a document. If one wants to read a page then the command man at a shell prompt will show the manual, for example, "man ftp". Pages are referred by using the notation "name(manual-section)", for example time(1).


Man Page :: Unix Man Pages - bcmp
Browse Linux man pages by name. Choose the first letter of the name of the Linux command, function, or file you are interested in:
a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|_| All


NAME

bcmp - compare byte sequences

SYNOPSIS


#include <strings.h>
int bcmp(const void * s1 , const void * s2 , size_t n );

DESCRIPTION

The bcmp () function compares the two byte sequences s1 and s2 of length n each. If they are equal, and in particular if n is zero, bcmp () returns 0. Otherwise it returns a nonzero result.

RETURN VALUE

The bcmp () function returns 0 if the byte sequences are equal, otherwise a nonzero result is returned.

CONFORMING TO

4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use memcmp (3) in new programs.

SEE ALSO

memcmp (3) strcasecmp (3) strcmp (3) strcoll (3) strncasecmp (3) strncmp (3)



Unix / Linux Man Pages
Copyright (C) 2008 istild.com. All Rights Reserved.

Unix / Linux Manual Pages Man Pages Man Pages Online Documentation - Valid CSS!