Strcoll - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

C Run-Time Library Reference

strcoll

compare strings
Synopsis
#include <string.h>
int strcoll(const char *s1, const char *s2);
Description
The
function compares the string pointed to by
strcoll
pointed to by
s2.
. Because only the C locale is defined in the ADSP-219x DSP
LC_COLLATE
environment, the
The function returns a positive value if the
string, a negative value if the
zero if the strings are the same.
Error Conditions
The
function does not return an error condition.
strcoll
Example
#include <string.h>
char string1[50], string2[50];
if (strcoll(string1, string2))
printf("%s is different than %s \n", string1, string2);
See Also
strrchr,
strncmp
3-124
The comparison is based on the locale macro,
function is identical to the
strcoll
string is greater than the
s2
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
with the string
s1
strcmp
string is greater than the
s1
string, and a
s1
for ADSP-219x DSPs
function.
s2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents