uniicmp(3nw)


uniicmp -- compares two strings

Synopsis

   #include <unicode.h> 
   

int N_API uniicmp (unicode N_FAR * s1, unicode N_FAR * s2);

Description

The parameters are as follows:

s1
(IN) Points to the first string to be compared.

s2
(IN) Points to the second string to be compared.

Return values

One of the following int values:

<0
s1is less than s2

=0
s1is equal to s2

>0
s1is greater than s2

Notices

uniicmp compares s1 to s2, starting with the first character in each string and continuing with subsequent characters until either the corresponding characters differ, or else the end of the strings is reached. The comparison is not case sensitive.

uniicmp corresponds to C stricmp.

Services

Unicode

NCP calls

None

References

uninicmp(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.