Texas Instruments TMS34010 Reference Manual page 126

C compiler
Hide thumbs Also See for TMS34010:
Table of Contents

Advertisement

Memory Compare
Syntax
#include
<string.h)
int
memcmp{51, 52, n)
void
*51, *52;
size-t n;
Defined in
memcmp. c
in
rts. src
memcmp
Description
The memcmp function compares the first n characters of the object that
52
points to with the object that 51 points to. The function returns one of the
following values:
< 0
if
*51
is less than
*52.
o
if
*51
is equal to
*52.
> 0
if
*51
is greater than
*52.
The memcmp function is similar to strncmp, except the objects that
memcmp compares can contain values of O.
6-51

Advertisement

Table of Contents
loading

Table of Contents