EasyManua.ls Logo

Texas Instruments TMS34010 - Page 68

Texas Instruments TMS34010
128 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
strcmp
Syntax
Description
Compare
Strings
#include
<string.h>
int
strcmp(string1
,string2)
char
'string1
,'string2;
strcmp
This
function
compares
two
strings, character
by
character, and returns an
indicator
of
which
string
is
lower
in the
ASCII
character set.
The
indicators
are:
-1
if
string 1 is less than string2
o
if
string 1
is
equal
to
string2
1
if
string 1
is
greater
than
string2
6-17

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals