T_strcmp

 

 

T_strcmp

 

 

 

int T_strcmp (

 

const char *string1,

/* first string */

const char *string2

/* second string */

);

 

 

 

Description

T_strlen compares two strings. The return value indicates the lexicographic relation of string1 to string2.

Return Value

Value

Relationship of string1 to string2

< 0

string1 is less than string2

0

string1 is identical to string2

> 0

string1 is greater than string2

 

 

C h a p t e r 4 D e t a i l s o f C r y p t o - C F u n c t i o n s

347

Page 357
Image 357
RSA Security 5 manual Int Tstrcmp