Texas Instruments TMS34010 Reference Manual page 143

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

Advertisement

strcmp/strcoll
Syntax
#include
<string.h>
int
strcoll(sl, s2)
char *s1, *s2;
int
strcmp(sl, s2)
char *s1, *s2;
Defined in
strcmp. c in rts. src
String Compare
Description
The strcmp and strcoll functions compare s2 with s
1.
The functions are
equivalent; both functions are supported to provide compatibility with ANSI
C.
The functions return one of the following values:
<
0
if *s1 is less than *s2.
o
if *s1 is equal to *s2.
> 0
if *s1 is greater than *s2.
6-68

Advertisement

Table of Contents
loading

Table of Contents