Mail Archives: djgpp/1997/12/28/11:35:24
Mike Evanoff wrote:
> Yes - I am confused myself. My interpretation was that it would look
< for a
> match between s1 and s2, where the function prototype is:
>
> int strcoll(const char *s1, const char *s2);
>
> and return 0 if s1=s2, >0 or <0 depending on s1>s2 or visa versa....
Correct. strcoll does the exactly analogous thing that strcmp does,
except strcoll is sensitive to the current "locale." strcmp merely does
an ASCII compare.
--
Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
Alcyone Systems / http://www.alcyone.com/max/
San Jose, California, United States / icbm://+37.20.07/-121.53.38
\
"Life may be / the product of imperfections."
/ (Marclo Gleiser)
- Raw text -