Name
afc_string_comp -- Compares two strings
Synopsis
signed long
afc_string_comp
( char * str1, char * str2, unsigned long numchars);
Description
This function compares two strings and returns a value.
Inputs
- str1
First string to compare
- str2
Second string to compare
- numchars
How many chars to compare before quitting.
If you pass *ALL*, that means that the whole
strings will be compared
Result
a value < 0 means str1>str2
a value > 0 means str2>str1
a value == 0 means str1==str2